Hi Alex, I'm not sure this will help, but I was working on a test project with embedding Clojure in Java and ended up adding my custom class loader to a map, bound to *ns*, and pushing/popping it to thread bindings:
https://gist.github.com/kunstmusik/8e7817f71dff5ceb5229 In some commented out test code in another file, it looks like things worked fine to evaluate Clojure code as strings to use Pomegranate to add dependencies and then evaluate code using those dependencies. Note the Engine code is using the Clojure read function and LineNumberingPushbackReader. I probably should have just used load-string, so don't mind that part of the code. Cheers! steven On Thursday, May 21, 2015 at 8:38:40 AM UTC-4, Alex Fowler wrote: > > We are using [org.clojure/clojure "1.7.0-beta3"] for desktop and > [org.clojure-android/clojure > "1.7.0-beta6"] for Android. > > By your question I assume you're refering to the fact that some of the > links I have made in the original post are for clojure-android, I am > sorry, apparently I mixed up the browser tabs when copy-pasting the links. > Tiredness gets in the way.. But that does not change anything - the problem > is valid both for Android and PC. There is no big difference for Android - > the DalvikDynamicClassLoader is a descendant of DynamicClassLoader and > suffers from the same issue. So, there is also a little difference for > RT.makeClassLoader() for Android concerning that it creates the > DalvikDynamicClassLoader > instead of DynamicClassLoader but the issue is the same, it is simply > mirrored to Android. We have been looking and investigating all this > yesterday with Sattvik and we together have come to this conclusion. > > четверг, 21 мая 2015 г., 16:05:03 UTC+4 пользователь Alex Miller написал: >> >> What version of Clojure are you using? > > -- 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/d/optout.