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

Bindable transformation causes verification errors with static properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6-rc-2
    • 1.6-beta-2
    • ast builder
    • None
    • openSUSE 11.0, Java 1.6u6, Groovy 1.6-beta1

    Description

      If you add the Bindable transformation to a class with static properties, then a VerifyError will be generated at runtime. In my mildly abused version of the transformation, I added a check for isStatic() to createListenerSetter, and that solved the problem.

      Attachments

        Activity

          People

            shemnon Daniel Ferrin
            evschris Chris Reeves
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: