I am trying to run Clojure (1.2) under a custom classloader, setting it as the context classloader for the current thread and using it directly to load clojure.lang.RT. Everything works fine as long as I stick to AOT-compiled code and source code without new forms. But (new ...) fails on anything except the standard Java API and I have checked that those class lookups do not pass through my custom classloader. It seems thus that the compiler uses something other than the context classloader to resolve classes in Java interop, but which one?

Thanks for any pointers,
  Konrad.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to