Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.7
Description
When I create two lists with length >= 1000, I get ClassFormatError.
Repro:
aaudibert-mbp% python -c 'print "def a = " + str([0]*1000) + "\n" + "def b = " + str(range(-1, 999)) + "\n"' > t.groovy aaudibert-mbp% groovy t.groovy Caught: java.lang.ClassFormatError: Duplicate method name&signature in class file t java.lang.ClassFormatError: Duplicate method name&signature in class file t zsh: exit 1 groovy t.groovy aaudibert-mbp% groovy -version Groovy Version: 2.3.7 JVM: 1.7.0_67 Vendor: Oracle Corporation OS: Mac OS X
ClassFormatError? o.O
If either list has length less than 1000, this doesn't happen. Is Groovy doing something weird when lists have length >= 1000?