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
Welcome to Scala version 2.8.0.r18830-b20090930020951 (JavaHotSpot(TM) 64-BitServerVM, Java1.6.0_16).
Type in expressions to have them evaluated.
Type:help for more information.
scala>classFoo{@volatile finalvarx=10};newFoo
java.lang.ClassFormatError:Illegal field modifiers in classFoo:0x52
at java.lang.ClassLoader.defineClass1(NativeMethod)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at scala.tools.nsc.interpreter.AbstractFileClassLoader.findClass(AbstractFileClassLoader.scala:31)
at java.lang.ClassLoader.loadClass(ClassL...
scala>
using this code on 2.8 latest gives this
I noticed #2095
not sure if they are related.
The text was updated successfully, but these errors were encountered: