Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-1
-
None
-
None
Description
groovy> x = 3
groovy> println x
groovy> go
3
groovy> x = 1
groovy> go
>>> a serious error occurred: duplicate class definition: CommandLine
>>> stacktrace:
java.lang.LinkageError: duplicate class definition: CommandLine
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at groovy.lang.GroovyClassLoader.access$100(GroovyClassLoader.java:71)
at groovy.lang.GroovyClassLoader$ClassCollector.onClassNode(GroovyClassLoader.java:472)