hmmm... I see. anyway I sorted my problem my building the latest clojure snpashot from source on my machine with Java 7 and then installing it ~/.m2/repositories/...

Jim


On 21/08/12 21:41, Sung Pae wrote:
"Jim - FooBar();" <jimpil1...@gmail.com> writes:

I thought I did not need the jsr166y.jar under java 7...what is
happening?
Has clojure 1.5 apha3 been aot-compiled against java 6?
It certainly looks that way. The compile-if macro [1] in
clojure.core.reducers conditionally defines several vars at runtime,
which would be defeated by precompilation.

For instance, getting the source for clojure.core.reducers/pool from
Java 7 returns:

     (def pool (delay (jsr166y.ForkJoinPool.)))

I don't have a solution myself, but I've been playing with the reducers
library by simply stripping the class files from the zip file:

     $ zip clojure-1.5.0-alpha3.jar -d clojure/core/reducers*.class

        guns

[1]: 
https://github.com/clojure/clojure/blob/master/src/clj/clojure/core/reducers.clj#L37


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

Reply via email to