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 indicated that pretty much only clojure.lang.RT.var() is really "supported" and everything else should be considered off-limits.
That doesn't help you with changing the classloader so maybe someone from Clojure/core can weigh in on whether that's even considered safe...? Sean On Wed, May 8, 2013 at 11:00 PM, stream <stream1...@gmail.com> 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.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 > > -- > -- > 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. > > -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- -- 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.