Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6792

ClassFormatError if a method has dots within its name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1, 2.4.0-rc-1
    • 2.4.10
    • Compiler

    Description

      I've got a ClassFormatError trying to run something like this:

      class ATest extends TestCase {
        void 'test methods with dots within its name.dot'() {}
      }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              mxm-groovy Maxim Medvedev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: