Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.17
Description
An exception occurs in Groovy if the groovy file contains the character #.
This happens on linux systems where a script that starts with a # will result in an error:
Exception in thread "main" java.lang.ClassFormatError: Illegal class name "" in class file
simply doing this:
groovy /path/#myfile
will produce this error.
This is a regression caused by GROOVY-6641