Java8 not working with Scalate?

624 views
Skip to first unread message

Nils Kilden-Pedersen

unread,
Mar 20, 2014, 2:30:50 PM3/20/14
to sca...@googlegroups.com
Tried switching and got this:

9700 [qtp433874882-34] ERROR org.fusesource.scalate.TemplateEngine  - Compilation failed:
error: error while loading CharSequence, class file 'C:\Program Files\Java\jdk1.8.0\jre\lib\rt.jar(java/lang/CharSequence.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 15 at byte 1501)
error: error while loading ConcurrentMap, class file 'C:\Program Files\Java\jdk1.8.0\jre\lib\rt.jar(java/util/concurrent/ConcurrentMap.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 15 at byte 2447)
two errors found

Diogo Ferreira

unread,
Mar 20, 2014, 2:36:23 PM3/20/14
to sca...@googlegroups.com
I think Scalate needs to be compiled against 2.10.3 which includes support for the JDK8 class format


--
You received this message because you are subscribed to the Google Groups "Scalate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalate+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ross A. Baker

unread,
Mar 20, 2014, 3:24:31 PM3/20/14
to sca...@googlegroups.com
Scala 2.11 is imminent.  What do people think about a release with crossbuilds against 2.10.3 and 2.11.0?  We could get a snapshot going now, and see if that fixes the JDK8 issue.
--
Ross A. Baker
ba...@alumni.indiana.edu
Indianapolis, IN, USA

Diogo Ferreira

unread,
Mar 20, 2014, 3:29:44 PM3/20/14
to sca...@googlegroups.com
In my opinion that's the way to go. I cannot find a definitive roadmap on Scala 2.11 but I'd say we could get a 2.10.3 + 2.11.0-RC2 (is it the current one) going.

This would allow for better testing and we could get ahold of the problems first so that we can get scalate on 2.11 faster than we were able to in 2.10.x.

Best regards,

Diogo Ferreira

Ross A. Baker

unread,
Mar 20, 2014, 9:44:14 PM3/20/14
to sca...@googlegroups.com
I pushed a build against Scala 2.10.4-RC3.  
Scala 2.10.3 had a problem with axis, which appears to be addressed in https://issues.scala-lang.org/browse/SI-7439.

I don't have rights to publish a snapshot myself.  CI should publish it as 1.7.0-SNAPSHOT.

I'm out of time for today, but will work on a 2.11 branch next if nobody beats me to it.
Reply all
Reply to author
Forward
0 new messages