Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3010 fix private field visibility
  3. GROOVY-1809

non-static fields should not be treated as static properties

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • None
    • groovy-runtime
    • None

    Description

      > java.awt.Font.getName() // ok
      > java.awt.Font.name
      > throws
      > java.lang.IllegalArgumentException

      the 'name' field on Font is treated as a static property while the field not static.

      Attachments

        Activity

          People

            emilles Eric Milles
            codevise Dierk König
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: