Skip to content
Permalink
Browse files

8236028: [TESTBUG] Remove dependency of sun.tools.jar from appcds/Jar…

…Builder

Reviewed-by: ccheung
  • Loading branch information
iklam committed Dec 17, 2019
1 parent 31b07b2 commit 83cb7044e97ec4f60f9d9e162c1f1edf94d513c8
Showing with 8 additions and 121 deletions.
  1. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/AppendClasspath.java
  2. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/BootClassPathMismatch.java
  3. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/CaseSensitiveClassPath.java
  4. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ClassLoaderTest.java
  5. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ClassPathAttr.java
  6. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/CommandLineFlagCombo.java
  7. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/CommandLineFlagComboNegative.java
  8. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/DirClasspathTest.java
  9. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/DumpClassList.java
  10. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ExtraSymbols.java
  11. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/FieldAnnotationsTest.java
  12. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/FreeUnusedMetadata.java
  13. +0 −3 test/hotspot/jtreg/runtime/cds/appcds/GraalWithLimitedMetaspace.java
  14. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/HelloExtTest.java
  15. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/HelloTest.java
  16. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/IgnoreEmptyClassPaths.java
  17. +4 −3 test/hotspot/jtreg/runtime/cds/appcds/JarBuilder.java
  18. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/JvmtiAddPath.java
  19. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/LongClassListPath.java
  20. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/MissingSuperTest.java
  21. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/MoveJDKTest.java
  22. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/MultiProcessSharing.java
  23. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/MultiReleaseJars.java
  24. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/NonExistClasspath.java
  25. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/OldClassTest.java
  26. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/PackageSealing.java
  27. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ParallelLoad2.java
  28. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ParallelLoadTest.java
  29. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/PrintSharedArchiveAndExit.java
  30. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ProhibitedPackage.java
  31. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/ProtectionDomain.java
  32. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/RelativePath.java
  33. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/RewriteBytecodesTest.java
  34. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/SharedArchiveConsistency.java
  35. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/SharedBaseAddress.java
  36. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/SharedPackages.java
  37. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/SignedJar.java
  38. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/SpecifySysLoaderProp.java
  39. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/TestWithProfiler.java
  40. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/TraceLongClasspath.java
  41. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/UnusedCPDuringDump.java
  42. +1 −2 test/hotspot/jtreg/runtime/cds/appcds/VerifierTest_0.java
  43. +1 −2 test/hotspot/jtreg/runtime/cds/appcds/VerifierTest_1A.java
  44. +1 −2 test/hotspot/jtreg/runtime/cds/appcds/VerifierTest_1B.java
  45. +1 −2 test/hotspot/jtreg/runtime/cds/appcds/VerifierTest_2.java
  46. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/WideIloadTest.java
  47. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/WrongClasspath.java
  48. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/XShareAutoWithChangedJar.java
  49. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/cacheObject/DifferentHeapSizes.java
  50. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/cacheObject/DumpTimeVerifyFailure.java
  51. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/cacheObject/OpenArchiveRegion.java
  52. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatA.java
  53. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatB.java
  54. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatC.java
  55. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatD.java
  56. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatE.java
  57. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/LoaderSegregationTest.java
  58. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ParallelTestMultiFP.java
  59. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ParallelTestSingleFP.java
  60. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ProhibitedPackageNamesTest.java
  61. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/ProtectionDomain.java
  62. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/SameNameInTwoLoadersTest.java
  63. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/UnintendedLoadersTest.java
  64. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/UnloadUnregisteredLoaderTest.java
  65. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/customLoader/UnsupportedPlatforms.java
  66. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/AppendClasspath.java
  67. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicFlag.java
  68. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MainModuleOnly.java
  69. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/RelativePath.java
  70. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnsupportedBaseArchive.java
  71. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnusedCPDuringDump.java
  72. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/javaldr/ArrayTest.java
  73. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/javaldr/GCSharedStringsDuringDump.java
  74. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/CheckUnsupportedDumpingOptions.java
  75. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/JigsawOptionsCombo.java
  76. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/AppClassInCP.java
  77. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/CustomPackage.java
  78. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/MismatchedPatchModule.java
  79. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/PatchDir.java
  80. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/PatchJavaBase.java
  81. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/Simple.java
  82. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/SubClassOfPatchedClass.java
  83. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/PatchModule/TwoJars.java
  84. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/classpathtests/BootAppendTests.java
  85. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/classpathtests/ClassPathTests.java
  86. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.java
  87. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java
  88. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddModules.java
  89. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddOpens.java
  90. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/AddReads.java
  91. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/ExportModule.java
  92. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/JvmtiAddPath.java
  93. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/MainModuleOnly.java
  94. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP.java
  95. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP_JFR.java
  96. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jigsaw/overridetests/OverrideTests.java
  97. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/jvmti/dumpingWithAgent/DumpingWithJvmtiAgent.java
  98. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/ExerciseGC.java
  99. +0 −2 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/FlagCombo.java
  100. +0 −3 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/IncompatibleOptions.java
  101. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/InternSharedString.java
  102. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/InvalidFileFormat.java
  103. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/LargePages.java
  104. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/LockSharedStrings.java
  105. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasic.java
  106. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsBasicPlus.java
  107. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsHumongous.java
  108. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsStress.java
  109. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SharedStringsWbTest.java
  110. +0 −1 test/hotspot/jtreg/runtime/cds/appcds/sharedStrings/SysDictCrash.java
@@ -27,7 +27,6 @@
* @summary At run time, it is OK to append new elements to the classpath that was used at dump time.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/HelloMore.java
* @run driver AppendClasspath
@@ -27,7 +27,6 @@
* @summary bootclasspath mismatch test.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver BootClassPathMismatch
*/
@@ -29,7 +29,6 @@
* between dump time and archive use time
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @requires os.family != "mac"
* @compile test-classes/Hello.java
* @run driver CaseSensitiveClassPath
@@ -27,7 +27,6 @@
* @summary Initiating and defining classloader test.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/HelloWB.java
* @compile test-classes/ForNameTest.java
@@ -27,7 +27,6 @@
* @summary Class-Path: attribute in MANIFEST file
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @run driver/timeout=240 ClassPathAttr
*/

@@ -32,7 +32,6 @@
* @summary Test command line flag combinations that
* could likely affect the behaviour of AppCDS
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
* @compile test-classes/Hello.java
@@ -30,7 +30,6 @@
* execute w/o compressed oops
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver CommandLineFlagComboNegative
*/
@@ -27,7 +27,6 @@
* @summary Handling of directories in -cp is based on the classlist
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/Super.java
* @run driver DirClasspathTest
@@ -28,7 +28,6 @@
* --patch-module.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/ArrayListTest.java
* @run driver DumpClassList
*/
@@ -27,7 +27,6 @@
* @summary Adding extra symbols into CDS archive using -XX:SharedArchiveConfigFile
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver ExtraSymbols
*/
@@ -27,7 +27,6 @@
* @summary Test for field annotations.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/FieldAnnotationsApp.java test-classes/MyAnnotation.java
* @run driver FieldAnnotationsTest
*/
@@ -27,7 +27,6 @@
* @summary Unused metadata created during dump time should be freed from the CDS archive.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/MethodNoReturn.jasm test-classes/Hello.java
* @run driver FreeUnusedMetadata
*/
@@ -28,9 +28,6 @@
* VM should not crash but CDS dump will abort upon failure in allocating metaspace.
* @requires vm.cds & vm.graal.enabled & vm.compMode == "Xmixed"
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* jdk.jartool/sun.tools.jar
* @build UseAppCDS_Test
* @run driver ClassFileInstaller -jar test.jar UseAppCDS_Test
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
@@ -28,7 +28,6 @@
* (which used to be called the "extension loader) in AppCDS
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/HelloExt.java
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
@@ -27,7 +27,6 @@
* @summary Hello World test for AppCDS
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver HelloTest
*/
@@ -27,7 +27,6 @@
* @summary Test the -XX:+IgnoreEmptyClassPaths flag
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/HelloMore.java
* @run driver IgnoreEmptyClassPaths
@@ -38,12 +38,14 @@
import java.io.File;
import java.nio.file.Path;
import java.util.ArrayList;
import sun.tools.jar.Main;
import java.util.spi.ToolProvider;

public class JarBuilder {
// to turn DEBUG on via command line: -DJarBuilder.DEBUG=[true, TRUE]
private static final boolean DEBUG = Boolean.parseBoolean(System.getProperty("JarBuilder.DEBUG", "false"));
private static final String classDir = System.getProperty("test.classes");
private static final ToolProvider JAR = ToolProvider.findFirst("jar")
.orElseThrow(() -> new RuntimeException("ToolProvider for jar not found"));

public static String getJarFilePath(String jarName) {
return classDir + File.separator + jarName + ".jar";
@@ -196,8 +198,7 @@ public static void createModularJar(String jarPath,
private static void createJar(ArrayList<String> args) {
if (DEBUG) printIterable("createJar args: ", args);

Main jarTool = new Main(System.out, System.err, "jar");
if (!jarTool.run(args.toArray(new String[1]))) {
if (JAR.run(System.out, System.err, args.toArray(new String[1])) != 0) {
throw new RuntimeException("jar operation failed");
}
}
@@ -28,7 +28,6 @@
* @requires vm.cds
* @bug 8060592
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* @compile test-classes/Hello.java
@@ -27,7 +27,6 @@
* @summary Test the handling of long path to the classlist file.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver LongClassListPath
*/
@@ -28,7 +28,6 @@
*
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/MissingSuper.java
* @run driver MissingSuperTest
*/
@@ -28,7 +28,6 @@
* @requires vm.cds
* @requires os.family == "linux"
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver MoveJDKTest
*/
@@ -28,7 +28,6 @@
*
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
* @compile test-classes/MultiProcClass.java
@@ -27,7 +27,6 @@
* @summary Test multi-release jar with AppCDS.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @run main/othervm/timeout=2400 MultiReleaseJars
*/

@@ -27,7 +27,6 @@
* @summary Handling of non-existent classpath elements during dump time and run time
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/HelloMore.java
* @run driver NonExistClasspath
@@ -28,7 +28,6 @@
* @requires vm.cds
* @library /test/lib
* @modules java.base/jdk.internal.org.objectweb.asm
* jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run build TestCommon JarBuilder
* @run driver OldClassTest
@@ -27,7 +27,6 @@
* @summary AppCDS handling of package.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/C1.java
* @compile test-classes/C2.java
* @compile test-classes/PackageSealingTest.java
@@ -27,7 +27,6 @@
* @summary Load app classes from CDS archive in parallel threads. Similar to ParallelLoad.java, but each class in its own JAR
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/ParallelLoad.java
* @compile test-classes/ParallelClasses.java
* @run driver ParallelLoad2
@@ -27,7 +27,6 @@
* @summary Load app classes from CDS archive in parallel threads
* @library /test/lib
* @requires vm.cds
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/ParallelLoad.java
* @compile test-classes/ParallelClasses.java
* @run driver ParallelLoadTest
@@ -27,7 +27,6 @@
* @summary test the -XX:+PrintSharedArchiveAndExit flag
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/HelloMore.java
* @run main/othervm/timeout=3600 PrintSharedArchiveAndExit
@@ -27,7 +27,6 @@
* @summary AppCDS handling of prohibited package.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/ProhibitedHelper.java test-classes/Prohibited.jasm
* @run driver ProhibitedPackage
*/
@@ -27,7 +27,6 @@
* @summary AppCDS handling of protection domain.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/ProtDomain.java
* @compile test-classes/ProtDomainB.java
* @compile test-classes/JimageClassProtDomain.java
@@ -27,7 +27,6 @@
* @summary Test relative paths specified in the -cp.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/HelloMore.java
* @run driver RelativePath
@@ -28,7 +28,6 @@
* the archived class with the same name is not loaded.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/RewriteBytecodes.java test-classes/Util.java test-classes/Super.java test-classes/Child.java
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
@@ -27,7 +27,6 @@
* @summary SharedArchiveConsistency
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @build sun.hotspot.WhiteBox
* @compile test-classes/Hello.java
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
@@ -29,7 +29,6 @@
* w/o a crash.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run main/timeout=240 SharedBaseAddress
*/
@@ -27,7 +27,6 @@
* @summary AppCDS handling of package.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/PackageTest.java
* @compile test-classes/JimageClassPackage.java
* @run driver SharedPackages
@@ -27,7 +27,6 @@
* @summary AppCDS handling of signed JAR.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run driver SignedJar
*/
@@ -27,7 +27,6 @@
* @summary If -Djava.system.class.loader=xxx is specified in command-line, disable archived non-system classes
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/TestClassLoader.java
* @compile test-classes/ReportMyLoader.java
* @compile test-classes/TrySwitchMyLoader.java
@@ -31,7 +31,6 @@
* profiler.
* @requires vm.hasJFR & vm.cds
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/MyThread.java
* @compile test-classes/TestWithProfilerHelper.java
* @run driver TestWithProfiler
@@ -27,7 +27,6 @@
* @summary ensure -Xlog:class+path showing entire expecting app classpath
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @compile test-classes/Super.java
* @run driver TraceLongClasspath
@@ -30,7 +30,6 @@
* defined to the PlatformClassLoader and AppClassLoader.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Hello.java
* @run main/othervm -Dtest.cds.copy.child.stdout=false UnusedCPDuringDump
*/
@@ -27,8 +27,7 @@
* @summary Unverfiable app classes should not be archived.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* java.base/jdk.internal.org.objectweb.asm
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile test-classes/Greet.java
* @compile test-classes/Hi.java
* @compile test-classes/VerifierTest0.java
@@ -27,8 +27,7 @@
* @summary Unverfiable app classes should not be archived.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* java.base/jdk.internal.org.objectweb.asm
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile test-classes/Greet.java
* @compile test-classes/Hi.java
* @compile test-classes/VerifierTest0.java
@@ -27,8 +27,7 @@
* @summary Unverfiable app classes should not be archived.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* java.base/jdk.internal.org.objectweb.asm
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile test-classes/Greet.java
* @compile test-classes/Hi.java
* @compile test-classes/VerifierTest0.java
@@ -27,8 +27,7 @@
* @summary Unverfiable app classes should not be archived.
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* java.base/jdk.internal.org.objectweb.asm
* @modules java.base/jdk.internal.org.objectweb.asm
* @compile test-classes/Greet.java
* @compile test-classes/Hi.java
* @compile test-classes/VerifierTest0.java
@@ -27,7 +27,6 @@
* @summary Test 'iload_w' bytecode in shared class
* @requires vm.cds
* @library /test/lib
* @modules jdk.jartool/sun.tools.jar
* @compile test-classes/Iloadw.jasm
* @compile test-classes/IloadwMain.java
* @run driver WideIloadTest

0 comments on commit 83cb704

Please sign in to comment.
You can’t perform that action at this time.