Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347471 Provide valid flags and mask in AccessFlag.Location
  3. JDK-8347709

Release Note: Access to Applicable Access Flags by Location

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • core-libs

      `java.lang.reflect.AccessFlag` models individual access flags that may be represented by the same bits in different locations, or `class` file structures, in which the access flags appear. This release adds new accessor methods, `flags` and `flagsMask`, to `AccessFlag.Location`, which allow users to obtain all bits with a defined access flag and those defined flags for a location.

      The behavior of `AccessFlag.SYNTHETIC` has changed. Previous releases treated it incorrectly as if it was introduced in Java SE Platform 7. This release corrects it to be available since Java SE Platform 5.0.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: