-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 10
-
Component/s: core-libs
-
b31
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.
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.
- relates to
-
JDK-8186802 Two nashorn tests fail with updated ASM6
-
- Closed
-
-
JDK-8190287 Update JDK's internal ASM to ASMv6
-
- Closed
-