Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-06-19 Thread alexi
Hi Stream, I have resolved the problem you are referring to. See comment in the issue you have opened https://github.com/apolenur/vert.x-mod-lang-clojure/issues/1 Regards, Alexi On Monday, 17 June 2013 23:15:37 UTC-4, Stream wrote: > > > > 在 2013年5月9日星期四UTC+8下午2时00分54秒,Stream写道: >> >> Hi all

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-06-17 Thread Stream
在 2013年5月9日星期四UTC+8下午2时00分54秒,Stream写道: > > Hi all > > i wanna change the classloader of Clojure RT. in 1.5.1 > so , i try to > clojure.lang.Var.pushThreadBindings(clojure.lang.RT.map( > clojure.lang.Compiler.LOADER, cl) ); > > but throws exception that cojure.lang.Compiler.LOADER is

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread Sean Corfield
Daniel hinted at it in his response and it's been discussed several times in the past but most of clojure.lang.RT and pretty much all of clojure.lang.{anything-else} is considered a private implementation detail and subject to change, so relying on it in code is very brittle. I think Rich has indic

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread AtKaaZ
is not this one is it ? https://github.com/CmdrDats/clj-minecraft/blob/master/javasrc/cljminecraft/BasePlugin.java#L82 On Thu, May 9, 2013 at 7:12 PM, AtKaaZ wrote: > is there any chance that we can see the full code (maybe's on github > already?) > > > On Thu, May 9, 2013 at 9:00 AM, stream w

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread AtKaaZ
is there any chance that we can see the full code (maybe's on github already?) On Thu, May 9, 2013 at 9:00 AM, stream wrote: > Hi all > > i wanna change the classloader of Clojure RT. in 1.5.1 > so , i try to > clojure.lang.Var.pushThreadBindings(clojure.lang.RT.map( > clojure.lang.Comp

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread AtKaaZ
Caused by: java.lang.NullPointerException at clojure.lang.RT.*baseLoader*(RT.java:2043) hmm, it's almost as if: static final public Var LOADER = Var.create().setDynamic(); had no effect as in: LOADER=null; On Thu, May 9, 2013 at 4:51 PM, semperos wrote: > Is there a reason you don't us

Re: why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread semperos
Is there a reason you don't use one of the methods exposed in clojure.lang.RT, e.g., makeClassLoader() or baseLoader() ? On Thursday, May 9, 2013 2:00:54 AM UTC-4, Stream wrote: > > Hi all > > i wanna change the classloader of Clojure RT. in 1.5.1 > so , i try to > clojure.lang.Var.pus

why clojure.lang.Compiler.LOADER is null in clojure 1.5.1

2013-05-09 Thread stream
Hi all i wanna change the classloader of Clojure RT. in 1.5.1 so , i try to clojure.lang.Var.pushThreadBindings(clojure.lang.RT.map( clojure.lang.Compiler.LOADER, cl) ); but throws exception that cojure.lang.Compiler.LOADER is null Caused by: java.lang.NullPointerException at c