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

Module attribute in 54.0+ class file cannot contains a requires java.base with ACC_TRANSITIVE or ACC_STATIC_PHASE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 10
    • core-libs
    • None

    Description

      JVMS 4.7.25 has been updated for Java SE 10 add a rule:

      "If the current module is not java.base, and the class file version number is 54.0 or above, then neither ACC_TRANSITIVE nor ACC_STATIC_PHASE may be set in requires_flags."

      This means an update to the module-info.class parser.

      Also need to decide if the ModuleDescriptor.Builder API needs an update.

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: