You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling against the jdk8 java.time.LocalDateTime class, the following compiler error occurs:
scala: error while loading LocalDateTime, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/time/LocalDateTime.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 223)
The text was updated successfully, but these errors were encountered:
Curtis Stanford (countfloyd) said:
Just being able to compile against jdk8 (class version 52) class files would be very helpful. It seems to work unless bytecode with lambdas is encountered.
Pete de Zwart (Atlassian) (pdzwart-at-atlassian.com) said:
We get a similar error for CharSequence with Scala compilation through Maven against both JDK 1.8.0_b103 & 1.8.0_b108:
27-Sep-2013 05:46:59 [ERROR] error: error while loading CharSequence, class file '/opt/java/x64/jdk1.8.0_b103/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken
27-Sep-2013 05:46:59 [INFO] (class java.lang.RuntimeException/bad constant pool tag 18 at byte 10)
When compiling against the jdk8 java.time.LocalDateTime class, the following compiler error occurs:
scala: error while loading LocalDateTime, class file '/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/rt.jar(java/time/LocalDateTime.class)' is broken
(class java.lang.RuntimeException/bad constant pool tag 18 at byte 223)
The text was updated successfully, but these errors were encountered: