JDK-8332109 : Convert remaining tests using com.sun.tools.classfile to ClassFile API
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-05-11
  • Updated: 2024-07-11
  • Resolved: 2024-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23 b24Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
These are a list of tests that use the com.sun.tools.classfile by searching for string `jdk.jdeps/com.sun.tools.jdeps` within the JDK test directory.

TestBCI.java
CallerSensitiveFinder.java
CheckCSMs.java
MissingCallerSensitive.java
CheckResourceKeys.java
CheckACC_STRICTFlagOnclinitTest.java
CombinationsTargetTest3.java
SyntheticClassTest.java
BridgeMethodsForLambdaTargetRelease14Test.java
CheckACC_STRICTFlagOnDefaultMethodTest.java
LambdaTestStrictFPFlag.java
CreateSymbolsTest.java
CanHandleClassFilesTest.java
TestIndyStringConcat.java
T6907575.java
T6866657.java
T7186925.java
APIDeps.java

Out of these, CreateSymbolsTest.java and CanHandleClassFilesTest.java will be migrated with CreateSymbols, and T6907575 with jdeps. CombinationsTargetTest3 is blocked by JDK-8315447, caused by javac generating invalid type annotation label references.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/19206 Date: 2024-05-12 08:36:44 +0000
11-07-2024

Changeset: beeffd46 Author: Chen Liang <liach@openjdk.org> Committer: Adam Sotona <asotona@openjdk.org> Date: 2024-05-17 12:24:39 +0000 URL: https://git.openjdk.org/jdk/commit/beeffd4671649e5d8f9c96f0455ac90a82917234
17-05-2024