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

Overriding properties defined w/ @Property gives wrong results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.0-JSR-4
    • None
    • None
    • Groovy jsr02, jdk 1.4.2_08

    Description

      Accessing a property that is overridden in a subclass gives wrong result. See included test case for details.

      Attachments

        1. property_bug.groovy
          0.4 kB
        2. property_nobug.groovy
          0.5 kB
          Kim, Pilho
        3. PropertyOverrideTest.groovy
          0.7 kB
          Kim, Pilho

        Activity

          People

            phkim Kim, Pilho
            antti.karanta@napa.fi Antti Karanta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: