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

[lworld] Modifier.toString does not differentiate between ACC_IDENTITY and ACC_SYNCHRONIZED

XMLWordPrintable

      Given the following snippet:
      int modifiers = String.class.getModifiers();
      IO.println(Modifier.toString(modifiers));

      We see "public final synchronized"

            Unassigned Unassigned
            phubner Paul Hübner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: