-
Bug
-
Resolution: Fixed
-
P3
-
23
As noticed in start-of-JDK-24 work, after JDK-8294977 the file
test/jdk/java/lang/instrument/MakeJAR2.sh
which is used to create jar files hard-codes a JDK value of "23" to pair with the --enable-preview javac option. Some kind of environmental query should be used to provide the value to --release instead.
This should be addressed before the JDK 24 start.
Programmatically, the value to be used as an argument for --release is the result of the expression
Runtime.version().feature())
The shell script in question could be rewritten as Java program.
test/jdk/java/lang/instrument/MakeJAR2.sh
which is used to create jar files hard-codes a JDK value of "23" to pair with the --enable-preview javac option. Some kind of environmental query should be used to provide the value to --release instead.
This should be addressed before the JDK 24 start.
Programmatically, the value to be used as an argument for --release is the result of the expression
Runtime.version().feature())
The shell script in question could be rewritten as Java program.
- duplicates
-
JDK-8307169 java/lang/instrument/NativeMethodPrefixAgent.java hit "fatal error: Illegal class file encountered."
- Closed
- relates to
-
JDK-8335966 Remove incorrect problem listing of java/lang/instrument/NativeMethodPrefixAgent.java in ProblemList-Virtual.txt
- Resolved
-
JDK-8294977 Convert test/jdk/java tests from ASM library to Classfile API
- Resolved
-
JDK-8330182 Start of release updates for JDK 24
- Resolved
(1 links to)