RFR: 8295058: test/langtools/tools/javac 116 tests classes use com.sun.tools.classfile library

Qing Xiao duke at openjdk.org
Mon Jul 31 17:02:20 UTC 2023


Modified 12 of 226 test/langtools/tools/javac test classes to replace com.sun.tools.classfile library.

-------------

Commit messages:
 - Rolled back the original version and migrated helper methods(with old classfile API). Relates to issue JDK-8313258
 - Modified test affected by the modification of ClassfileInspector.java
 - Modified all tests in tools/javac/classfiles/attributes/Signature
 - Modified all tests in tools/javac/classfiles/attributes/Synthetic,affected by the modification of TestBase
 - Modified 2 tests affected by the modification of TestBase
 - Modified all files in langtools/tools/javac/classfiles/attributes/deprecated
 - Modified tests in test/langtools/tools/javac/annotations/typeAnnotations/classfile (CombinationsTargetTest3 is WIP)
 - Modified ClassfileTestHelper to tests in javac/annotations/typeAnnotations/classfile. Modified InnerClassAttrMustNotHaveStrictFPFlagTest.java
 - Modified 2 tests in test/langtools/tools/javac/annotations/typeAnnotations/classfile
 - Modified TestBase, tests in javac/classfiles/attributes/Module
 - ... and 7 more: https://git.openjdk.org/jdk/compare/8c9d091f...27cc2f10

Changes: https://git.openjdk.org/jdk/pull/14874/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14874&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295058
  Stats: 3110 lines in 117 files changed: 1100 ins; 706 del; 1304 mod
  Patch: https://git.openjdk.org/jdk/pull/14874.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14874/head:pull/14874

PR: https://git.openjdk.org/jdk/pull/14874


More information about the compiler-dev mailing list