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

ModuleInfoExtender should be ASM6 aware

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • core-libs

      The ModuleInfoExtender was a facility to add ModuleAttributes using ASM5.
      ASM5 is pre-modules based implementation. However, ASM6 now supports
      specified module attributes inherently, and the ModuleInfoExtender must be
      adapted to use ASM6.

      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/74776ebdab24/src/java.base/share/classes/jdk/internal/module/ModuleInfoExtender.java

      The Attributest are being defined here:
      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/74776ebdab24/src/java.base/share/classes/jdk/internal/module/ClassFileAttributes.java

      The latest ASM6 patch adapted to the JDK is attached.

      It is likely jlink will also need some re-factoring and adjustments.

      Not doing so will not allow JDK's internal version of ASM, to be updated.

            alanb Alan Bateman
            ksrini Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: