On Sun, Aug 22, 2010 at 10:23:58PM +0530, Ramakrishnan Muthukrishnan wrote: > On Sun, Aug 22, 2010 at 3:04 AM, Peter Collingbourne <pe...@pcc.me.uk> wrote: > > Hi, > > > > I am in the process of packaging Clojure 1.2 for Debian. While > > doing so, I noticed that Clojure 1.1 AOT compiled packages, such as > > clojure-contrib, won't work with 1.2. This led me to discover that > > AOT compiled packages are in general not guaranteed to work between > > Clojure versions. The way I see it we have two possible solutions: > > > > 1) Do nothing. This would essentially mean all clojure libraries would > > need to move in lockstep with the clojure package. > > As I understand it, this is a problem only for gen-class'ed > namespaces. clojure-contrib has a few. But many libraries never AOT > compile for precisely the same reason.
If a library/app B needs AOT and depends on a library A which is not AOT compiled, what does the linkage look like from B to A? Is it a direct call? IOW, what happens if B is called using a gen-class'd class and calls A? Is A automatically JIT compiled? Thanks, -- Peter -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100823141947.ga10...@pcc.me.uk