touch / clojure

A patched Clojure enabling multiple Namespace contexts, while sharing most classes and optionally namespaces.
1 stars 0 forks source link

Workaround for needing containium/clojure for AOT #2

Closed aroemers closed 8 months ago

aroemers commented 8 years ago

In other words, is there another solution for: https://github.com/containium/clojure/commit/ef5c2e31adf44a5c3527b509e340845b5c05650b

vizanto commented 8 years ago

The problem is lazy loading happening in another thread that doesn't have the Thread context classloader set.

Maybe we can add some trickerty to RT.baseLoader(), but how to figure out which classloader originally compiled the proxy?