[ https://issues.apache.org/jira/browse/GROOVY-9194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886135#comment-16886135 ]
Paul King commented on GROOVY-9194: ----------------------------------- Hi Joseph, I haven't tried to track down the commits yet, but just a question, did you do a {{git bisect}} to determine that the commit(s) related to GROOVY-6641 caused the problem or just identified a potentially suspicious issue from the ones listed for Groovy 2.2.3? Knowing that will help formulate the best way to zero in on the regression. > Groovy fails when a script starts with a # > ------------------------------------------ > > Key: GROOVY-9194 > URL: https://issues.apache.org/jira/browse/GROOVY-9194 > Project: Groovy > Issue Type: Bug > Components: groovy-runtime > Affects Versions: 2.4.17 > Reporter: Joseph Henry > Priority: Minor > > 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 -- This message was sent by Atlassian JIRA (v7.6.14#76016)