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

Groovy compiler executes code it is compiling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0
    • 1.1-rc-1
    • None

    Description

      Unpack the attached example and compile it. The compiler will crash with a RuntimeException like this:

      
      

      {

      Attachments

        1. StaticInitBug.zip
          0.6 kB
          Aaron Digulla
        2. patch
          6 kB
          Robert Stroud
        3. ClassExaminer.groovy
          3 kB
          Aaron Digulla

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              digulla Aaron Digulla
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: