Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
Description
class StaticMember {
public static Long x = 0;
}
causes a:
Exception in thread "main" java.lang.ClassFormatError: StaticMember (Bad string initial value)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at groovy.lang.GroovyClassLoader.access$200(GroovyClassLoader.java:78)
at groovy.lang.GroovyClassLoader$ClassCollector.onClassNode(GroovyClassLoader.java:400)