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

Closures may have wrong inner class attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2
    • Compiler
    • None

    Description

      ASM 5.0.2 has a bug which corrupts inner class tables. A workaround was written for GROOVY-6750 but it itself produces a corrupt inner class table. This can be highlighted with the following test case:

      class Foo {
         Closure cl = { println 'foo' }
      }
      Class c = Class.forName('Foo$_closure1')
      c.isAnonymousClass()
      

      Attachments

        Issue Links

          Activity

            People

              melix Cédric Champeau
              melix Cédric Champeau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: