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

provide access to public fields if they overload properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-6
    • None
    • None

    Description

      In the AWT there are 2 classes Rectangle and Dimension which have public fields which overload the bean properties.

      public int height

      public double getHeight()

      {..}

      We should patch the MetaClass to work around these so that the public field would be used in preference to the property.

      Attachments

        1. Archive.zip
          13 kB
          John Stump

        Activity

          People

            Unassigned Unassigned
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: