Re: Clojure in OSGi and *use-context-classloader*

2012-11-16 Thread Nick Mudge
Hi there, Thanks for your post. I had the same problem and your solution is what I need. To answer your question, USE_CONTEXT_CLASSLOADER still returns true in the following method (which is also in RT.java) because it is being bound to true when making a DynamicClassLoader: static public Clas

Re: Clojure in OSGi and *use-context-classloader*

2012-07-02 Thread Jacek Laskowski
On Sun, Jul 1, 2012 at 12:03 AM, Maris wrote: > Why booleanCast(USE_CONTEXT_CLASSLOADER.deref()) doesn't always return false > ? Could it be that you run multiple threads and the var is true in a thread and false in the other? Just a guess. Jacek -- Jacek Laskowski Functional languages (Cloju

Clojure in OSGi and *use-context-classloader*

2012-06-30 Thread Maris
I am using clojure in apache karaf which has Thread context class loader set to karaf jars. I changed use-context-classloader to false in RT.java: final static public Var USE_CONTEXT_CLASSLOADER = Var.intern(CLOJURE_NS, Symbol.intern("*use-context-classloader*"), F).setDynamic(); For some rea