[ 
https://issues.apache.org/jira/browse/GROOVY-9194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540666#comment-17540666
 ] 

Eric Milles commented on GROOVY-9194:
-------------------------------------

https://github.com/apache/groovy/commit/2691fb0d2b745a7cc6647edd09a71a3831ffa460

> 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
>            Assignee: Paul King
>            Priority: Minor
>              Labels: ClassFormatError
>             Fix For: 4.0.0-alpha-1, 3.0.3
>
>
> 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
(v8.20.7#820007)

Reply via email to