--- old/test/hotspot/jtreg/runtime/cds/appcds/JarBuilder.java 2020-06-11 19:16:34.327421157 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/JarBuilder.java 2020-06-11 19:16:33.416398932 +0000 @@ -126,36 +126,6 @@ executeProcess(args.toArray(new String[1])); } - // Add commonly used inner classes that are often omitted by mistake. Currently - // we support only sun/hotspot/WhiteBox$WhiteBoxPermission. See JDK-8199290 - private static String[] addInnerClasses(String[] classes, int startIdx) { - boolean seenWB = false; - boolean seenWBInner = false; - // This method is different than ClassFileInstaller.addInnerClasses which - // uses "." as the package delimiter :-( - final String wb = "sun/hotspot/WhiteBox"; - final String wbInner = "sun/hotspot/WhiteBox$WhiteBoxPermission"; - - ArrayList list = new ArrayList<>(); - - for (int i = startIdx; i < classes.length; i++) { - String cls = classes[i]; - list.add(cls); - switch (cls) { - case wb: seenWB = true; break; - case wbInner: seenWBInner = true; break; - } - } - if (seenWB && !seenWBInner) { - list.add(wbInner); - } - - String[] array = new String[list.size()]; - list.toArray(array); - return array; - } - - private static String createSimpleJar(String jarclassDir, String jarName, String[] classNames) throws Exception { @@ -171,8 +141,6 @@ private static void addClassArgs(ArrayList args, String jarclassDir, String[] classNames) { - classNames = addInnerClasses(classNames, 0); - for (String name : classNames) { args.add("-C"); args.add(jarclassDir); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/AppendClasspath.java 2020-06-11 19:16:37.182490808 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/AppendClasspath.java 2020-06-11 19:16:36.275468681 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * @compile ../test-classes/Hello.java * @compile ../test-classes/HelloMore.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. AppendClasspath */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArrayKlasses.java 2020-06-11 19:16:40.035560411 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArrayKlasses.java 2020-06-11 19:16:39.128538283 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -31,7 +31,7 @@ * @build ArrayKlassesApp * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar ArrayKlasses.jar ArrayKlassesApp - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ArrayKlasses */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ClassResolutionFailure.java 2020-06-11 19:16:42.859629306 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ClassResolutionFailure.java 2020-06-11 19:16:41.956607276 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,7 +33,7 @@ * @build MissingDependent * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar missingDependent.jar MissingDependent - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ClassResolutionFailure */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java 2020-06-11 19:16:45.703698689 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java 2020-06-11 19:16:44.801676684 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,7 +33,7 @@ * @build Hello * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar hello.jar Hello - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. DynamicArchiveRelocationTest */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java 2020-06-11 19:16:48.527767584 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLotsOfClasses.java 2020-06-11 19:16:47.622745506 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -39,7 +39,7 @@ * @build LoadClasses * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar loadclasses.jar LoadClasses - * @run driver ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox * @run main/othervm/timeout=500 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./whitebox.jar DynamicLotsOfClasses */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ExcludedClasses.java 2020-06-11 19:16:51.370836943 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ExcludedClasses.java 2020-06-11 19:16:50.446814401 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -35,7 +35,7 @@ * ExcludedClassesApp$NotLinkedSuper * ExcludedClassesApp$NotLinkedChild * ExcludedClassesApp$NotLinkedInterface - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. ExcludedClasses */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamic.java 2020-06-11 19:16:54.316908815 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamic.java 2020-06-11 19:16:53.413886785 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * @build Hello * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar hello.jar Hello - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. HelloDynamic */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamicCustom.java 2020-06-11 19:16:57.233979979 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamicCustom.java 2020-06-11 19:16:56.322957754 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -31,7 +31,7 @@ * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar hello.jar HelloUnload ClassUnloadCommon ClassUnloadCommon$1 ClassUnloadCommon$TestFailure * @run driver ClassFileInstaller -jar hello_custom.jar CustomLoadee - * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar HelloDynamicCustom */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamicCustomUnload.java 2020-06-11 19:17:00.065049045 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/HelloDynamicCustomUnload.java 2020-06-11 19:16:59.158026917 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,7 +34,7 @@ * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar hello.jar HelloUnload ClassUnloadCommon ClassUnloadCommon$1 ClassUnloadCommon$TestFailure * @run driver ClassFileInstaller -jar hello_custom.jar CustomLoadee - * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar HelloDynamicCustomUnload */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/JITInteraction.java 2020-06-11 19:17:02.911118477 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/JITInteraction.java 2020-06-11 19:17:02.007096422 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -29,7 +29,7 @@ * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds /test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/test-classes * @build TestJIT * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar testjit.jar TestJIT * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar JITInteraction */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LinkClassTest.java 2020-06-11 19:17:05.794188811 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LinkClassTest.java 2020-06-11 19:17:04.885166635 +0000 @@ -32,7 +32,7 @@ * @build LinkClassApp * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar link_class_app.jar LinkClassApp Parent Child Parent2 Child2 MyShutdown - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. LinkClassTest */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MethodSorting.java 2020-06-11 19:17:08.641258268 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MethodSorting.java 2020-06-11 19:17:07.716235701 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -45,7 +45,7 @@ * MethodSortingApp$ImplementorA1 * MethodSortingApp$ImplementorB * MethodSortingApp$ImplementorB1 - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodSorting */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MissingArchive.java 2020-06-11 19:17:11.457326967 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/MissingArchive.java 2020-06-11 19:17:10.557305011 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * @requires vm.cds * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds /test/hotspot/jtreg/runtime/cds/appcds/test-classes * @build GenericTestApp sun.hotspot.WhiteBox - * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar GenericTestApp.jar GenericTestApp * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar MissingArchive */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/NoClassToArchive.java 2020-06-11 19:17:14.299396302 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/NoClassToArchive.java 2020-06-11 19:17:13.389374101 +0000 @@ -40,7 +40,7 @@ * @build StrConcatApp * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar strConcatApp.jar StrConcatApp - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. NoClassToArchive */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/RelativePath.java 2020-06-11 19:17:17.149465831 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/RelativePath.java 2020-06-11 19:17:16.244443753 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * @build sun.hotspot.WhiteBox * @compile ../test-classes/Hello.java * @compile ../test-classes/HelloMore.java - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. RelativePath */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/SharedArchiveFileOption.java 2020-06-11 19:17:19.990535141 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/SharedArchiveFileOption.java 2020-06-11 19:17:19.076512843 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * @build Hello * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller -jar hello.jar Hello - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. SharedArchiveFileOption */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnsupportedBaseArchive.java 2020-06-11 19:17:22.836604573 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnsupportedBaseArchive.java 2020-06-11 19:17:21.923582299 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -34,7 +34,7 @@ * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds /test/hotspot/jtreg/runtime/cds/appcds/test-classes * @compile ../test-classes/Hello.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller -jar WhiteBox.jar sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:./WhiteBox.jar UnsupportedBaseArchive */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnusedCPDuringDump.java 2020-06-11 19:17:25.690674200 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnusedCPDuringDump.java 2020-06-11 19:17:24.779651975 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -31,7 +31,7 @@ * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds * @build sun.hotspot.WhiteBox * @compile ../test-classes/Hello.java - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Dtest.cds.copy.child.stdout=false -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. UnusedCPDuringDump */ --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh 2020-06-11 19:17:28.535743608 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh 2020-06-11 19:17:27.632721578 +0000 @@ -50,7 +50,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox\$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. $i */ @@ -58,8 +58,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class $i extends DynamicArchiveTestBase { @@ -74,7 +72,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "$i"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java 2020-06-11 19:17:31.434814333 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java 2020-06-11 19:17:30.524792132 +0000 @@ -40,7 +40,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesAsCollectorTest */ @@ -48,8 +48,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class MethodHandlesAsCollectorTest extends DynamicArchiveTestBase { @@ -64,7 +62,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "MethodHandlesAsCollectorTest"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java 2020-06-11 19:17:34.262883325 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java 2020-06-11 19:17:33.359861295 +0000 @@ -40,7 +40,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesCastFailureTest */ @@ -48,8 +48,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class MethodHandlesCastFailureTest extends DynamicArchiveTestBase { @@ -64,7 +62,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "MethodHandlesCastFailureTest"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java 2020-06-11 19:17:37.095952440 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java 2020-06-11 19:17:36.190930361 +0000 @@ -40,7 +40,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesGeneralTest */ @@ -48,8 +48,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class MethodHandlesGeneralTest extends DynamicArchiveTestBase { @@ -64,7 +62,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "MethodHandlesGeneralTest"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java 2020-06-11 19:17:39.925021458 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java 2020-06-11 19:17:39.018999354 +0000 @@ -40,7 +40,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesInvokersTest */ @@ -48,8 +48,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class MethodHandlesInvokersTest extends DynamicArchiveTestBase { @@ -64,7 +62,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "MethodHandlesInvokersTest"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java 2020-06-11 19:17:42.771090889 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java 2020-06-11 19:17:41.861068689 +0000 @@ -40,7 +40,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesPermuteArgumentsTest */ @@ -48,8 +48,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase { @@ -64,7 +62,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "MethodHandlesPermuteArgumentsTest"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java 2020-06-11 19:17:45.619160370 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java 2020-06-11 19:17:44.711138218 +0000 @@ -40,7 +40,7 @@ * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java * ../test-classes/TestMHApp.java * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesSpreadArgumentsTest */ @@ -48,8 +48,6 @@ import java.io.File; -import jtreg.SkippedException; - import sun.hotspot.gc.GC; public class MethodHandlesSpreadArgumentsTest extends DynamicArchiveTestBase { @@ -64,7 +62,6 @@ private static final String ps = System.getProperty("path.separator"); private static final String testPackageName = "test.java.lang.invoke"; private static final String testClassName = "MethodHandlesSpreadArgumentsTest"; - private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete"; static void testImpl() throws Exception { String topArchiveName = getNewArchiveName(); --- old/test/hotspot/jtreg/runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java 2020-06-11 19:17:48.482230217 +0000 +++ new/test/hotspot/jtreg/runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java 2020-06-11 19:17:47.565207845 +0000 @@ -32,7 +32,7 @@ * @modules java.base/jdk.internal.misc * jdk.httpserver * @build sun.hotspot.WhiteBox - * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission + * @run driver ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. DynamicLoaderConstraintsTest */