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

ASF GitHub Bot commented on GROOVY-6792:
----------------------------------------

GitHub user paulk-asert opened a pull request:

    https://github.com/apache/groovy/pull/505

    GROOVY-6792: ClassFormatError if a method has dots within its name

    Provide a friendly error message for now - we can remove (some of) the 
checks if we find a good way to encode special chars

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paulk-asert/groovy groovy6792

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/505.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #505
    
----
commit 69b834b3da71fc6d755fda23f2a9621bf341d167
Author: paulk <[email protected]>
Date:   2017-02-28T03:05:22Z

    GROOVY-6792: ClassFormatError if a method has dots within its name

----


> ClassFormatError if a method has dots within its name
> -----------------------------------------------------
>
>                 Key: GROOVY-6792
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6792
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.2.1, 2.4.0-rc-1
>            Reporter: Maxim Medvedev
>
> I've got a ClassFormatError trying to run something like this:
> {code}
> class ATest extends TestCase {
>   void 'test methods with dots within its name.dot'() {}
> }
> {code} 
> Original source is 
> https://github.com/JetBrains/intellij-community/blob/master/java/java-tests/testSrc/com/intellij/refactoring/RenameSuggestionsTest.groovy
> Currently, the code at the above link works because all dots are replaced 
> with underscores.
> Reproduced on Win 8 with Java 1.8 and Groovy 2.2.1. Can't reproduce on Mac 
> with any Java.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to