Re: Clojure crash on OpenJDK 8

2013-02-27 Thread Herwig Hochleitner
2013/2/27 Ben Evans > To add a bit more light on this, my JDK 8 Mac build is from the lambda > repo, so may have changes which are ahead of mainline JDK8 (to > Herwig's point). > Tried lambda-8-b79-linux-x64-25_feb_2013.tar.gz from http://jdk8.java.net/lambda/ it works for me aswell. I gotta run

Re: Clojure crash on OpenJDK 8

2013-02-27 Thread Kevin Downey
clojure uses a class called DynamicClassloader to load runtime generated classes, but it is a pretty strait forward extension of URLClassloader On Wed, Feb 27, 2013 at 11:27 AM, Ben Evans wrote: > On Wed, Feb 27, 2013 at 5:42 PM, Kevin Downey wrote: > > what version of clojure are you using? I

Re: Clojure crash on OpenJDK 8

2013-02-27 Thread Ben Evans
On Wed, Feb 27, 2013 at 5:42 PM, Kevin Downey wrote: > what version of clojure are you using? I doubt line #100 of main is the > correct line in server.clj, the content of the stacktrace looks more like > https://github.com/clojure/tools.nrepl/blob/master/src/main/clojure/clojure/tools/nrepl/serve

Re: Clojure crash on OpenJDK 8

2013-02-27 Thread Herwig Hochleitner
FWIW, I've just built jdk8-b78 on my linux machine (due to the oracle build being unavailable) and everything seemed to work: % JAVA_CMD=~/checkout/openjdk8/build/linux-x86_64-normal-server-release/images/j2re-image/bin/java lein version Leiningen 2.0.0 on Java 1.8.0-internal OpenJDK 64-Bit Server

Re: Clojure crash on OpenJDK 8

2013-02-27 Thread Kevin Downey
what version of clojure are you using? I doubt line #100 of main is the correct line in server.clj, the content of the stacktrace looks more like https://github.com/clojure/tools.nrepl/blob/master/src/main/clojure/clojure/tools/nrepl/server.clj#L146, what version of nrepl? https://github.com/cloju

Re: Clojure crash on OpenJDK 8

2013-02-27 Thread AtKaaZ
the stacktrace points here: https://github.com/clojure/tools.nrepl/blob/master/src/main/clojure/clojure/tools/nrepl/server.clj#L100 but that's all I got:) On Wed, Feb 27, 2013 at 5:47 PM, Ben Evans wrote: > Hi, > > lein repl is crashing on OpenJDK 8 consistently for me, with this error: > > Exce

Clojure crash on OpenJDK 8

2013-02-27 Thread Ben Evans
Hi, lein repl is crashing on OpenJDK 8 consistently for me, with this error: Exception in thread "main" java.lang.ClassCastException: clojure.tools.nrepl.server.Server cannot be cast to compile__stub.clojure.tools.nrepl.server.Server at clojure.tools.nrepl.server.Server.valAt(server.clj:1