Class.getModifier() returns wrong value

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.5
    • Component/s: core-libs
    • None

      Test Case:
      Swing class AbstractButton contains a protected innner class named
      ButtonChangeListener.

      Using Class.forName() to load the class and invoking getModifier()
      returns 32 (synchrnonized), so that both Modifier.isPublic() and
      Modifier.isProtected() fail.

            Assignee:
            Anand Palaniswamy (Inactive)
            Reporter:
            Eric Armstrong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: