Hi Giri,

At my company, we also desired multiple, isolated Clojure runtimes in one 
JVM instance, sharing Clojure data structures/types. So indeed, we also 
created special ClassLoaders in order to do this. We had the same problem 
with some data types being tied to the Clojure runtime somehow. Even more, 
there is also the problem with package protected fields in some of those 
data structure/type classes, causing issues when an isolated 
clojure.lang.RT tries to access a commonly loaded data structure/type. 

Our solution: patch the Clojure runtime. For us, the result is that we can 
share almost anything, including keywords, functions and vars. Our patched 
Clojure can be found at http://github.com/touch/clojure. It is not a tidy 
patch (as the diff shows many whitespace/indent changes), but maybe it is 
of some use to you.

In the long run, we plan to make a tidy patch, and also release our Clojure 
runtime container software as an open source project.

-Arnout

-- 
-- 
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.

Reply via email to