Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6
-
None
-
Ubuntu 7.10
SunOS 5.10
Description
To reproduce this error just generate a folder with the name "test-7.2"
and generate in it an easy script file named Test:
//script file
println 'foo'
When you run this script the following Exception is thrown:
Caught: java.lang.ClassFormatError: Illegal class name "test-7" in class file test-7
If you rename the file to something with a dot extension (e.g. Test.groovy or Test.test) it works.