Hello!

Thanks for the speedy turnaround! It looks like this fix clears up the issue.

Thanks a lot,
Edward

________________________________
From: clojure@googlegroups.com [clojure@googlegroups.com] on behalf of Gil Tene 
[g...@azulsystems.com]
Sent: Friday, June 15, 2012 12:32 AM
To: clojure@googlegroups.com
Subject: Re: Clojure (Slim 1.4.0) and Azul don't like each other

We've tracked down the problem, and it turns out to be a semantic issue around 
forced vs. hinted initialization (or initialization avoidance) on explicit 
class loading. It appears that Clojure makes multiple Class.forName() calls on 
the same class, with the first call intended to avoid static initialization, 
and the subsequent calls forcing initialization. We believe the issue may be 
with a difference between the Zing and OpenJDK HotSpot implementations of the 
spec for these calls.

We've created and quickly tested a replacement implementation of 
Class.forName() that mirrors OpenJDK HotSpot's exact behavior, and it seems to 
resolve the Clojure startup issues in our simple test. We'll include this 
change in a coming dot release for Zing, but in the meantime, we prepared an 
override jar file that can be placed in the booth class path to test the 
behavior. I'll get that to you via e-mail.

Please test it and let us know if it resolves your issue.

-- Gil.

On Wednesday, June 13, 2012 9:26:37 AM UTC-7, Edward Z. Yang wrote:
We've been attempting to run Clojure in Azul, and not having particularly good 
luck. We got around the problem described here 
(http://www.mail-archive.com/clojure@googlegroups.com/msg17276.html) by 
switching to slim, but now we are getting this exception:

ExceptionInInitializerError: Compiler$CompilerException: 
java.lang.NoSuchFieldException: close, compiling:(clojure/core.clj:6139)

Any advice?

Cheers,
Edward

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