Re: Calling Clojure from Java and classloader

2012-06-15 Thread Warren Lynn
> It's not really a good idea to AOT your code and then directly try to > use it from java. The generated java bytecode isn't guaranteed to be > stable across versions of clojure, and you're depending on > implementation details. > > One way to use your clojure code from java is through RT

Re: Calling Clojure from Java and classloader

2012-06-15 Thread Aaron Cohen
On Wed, Jun 13, 2012 at 11:48 PM, Warren Lynn wrote: > Ok, I hit a wall and really did not see this coming. > > Based on what I have read, its really easy for Clojure and Java to > work together. So I wrote some test Clojure code with a very simple > defrecord (say named as "testrec") and AOT comp