groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-6792) ClassFormatError if a method has dots within its name
Date Mon, 27 Feb 2017 14:47:45 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-6792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King updated GROOVY-6792:
------------------------------
    Description: 
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.

 



  was:
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

Now it 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.

 




> 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)

Mime
View raw message