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

AccessFlags validation should respect ClassFile version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 24
    • core-libs
    • None

      Currently, `AccessFlags` validation does not respect ClassFile version; for example, we currently rejects using `AccessFlag.STRICT` on methods if we generate major version 52 (Java 8) bytecode. With the update to AccessFlags creation, we can capture the class file version from builder context to create the flags bound to the right versions.

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

              Created:
              Updated: