在 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 null > > Caused by: java.lang.NullPointerException > at clojure.lang.RT.baseLoader(RT.java:2043) > at clojure.lang.RT.load(RT.java:417) > at clojure.lang.RT.load(RT.java:411) > at clojure.lang.RT.doInit(RT.java:447) > at clojure.lang.RT.<clinit>(RT.java:329) > ... 9 more > > > However this is work in the 1.4.0 > > someone could tell me what had happened in 1.5.1 > thanks
------------------ Sorry , i have disappear a month for my own things.. the problem is still hung. i don't how to resolve it , except back version of clojure to 1.4.0 The intention is that vertx project http://vertx.io/ use clojure as one of scriptlang to execute some logical so, i have own classloader which is cl, could load any other lib of jar dynamically. as @atkaaz desc, it seems LOADER has set NULL. and reason @sean corfield has given. i hope someone could give me a idea .... thanks again. -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.