Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4109603

Class.getModifier() returns wrong value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.5
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: