--- 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();