8249625: cleanup unused SkippedException in the tests under cds/appcds/dynamicArchive/methodHandles

Reviewed-by: iklam
This commit is contained in:
Calvin Cheung 2020-09-08 19:00:50 +00:00
parent 63a5a12949
commit e20004d7c1
7 changed files with 0 additions and 35 deletions

View File

@ -80,10 +80,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class $i extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -96,7 +92,6 @@ public class $i extends DynamicArchiveTestBase {
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();

View File

@ -48,10 +48,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class MethodHandlesAsCollectorTest extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -64,7 +60,6 @@ public class MethodHandlesAsCollectorTest extends DynamicArchiveTestBase {
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();

View File

@ -48,10 +48,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class MethodHandlesCastFailureTest extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -64,7 +60,6 @@ public class MethodHandlesCastFailureTest extends DynamicArchiveTestBase {
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();

View File

@ -48,10 +48,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class MethodHandlesGeneralTest extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -64,7 +60,6 @@ public class MethodHandlesGeneralTest extends DynamicArchiveTestBase {
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();

View File

@ -48,10 +48,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class MethodHandlesInvokersTest extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -64,7 +60,6 @@ public class MethodHandlesInvokersTest extends DynamicArchiveTestBase {
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();

View File

@ -48,10 +48,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -64,7 +60,6 @@ public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase {
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();

View File

@ -48,10 +48,6 @@ import org.junit.Test;
import java.io.File;
import jtreg.SkippedException;
import sun.hotspot.gc.GC;
public class MethodHandlesSpreadArgumentsTest extends DynamicArchiveTestBase {
@Test
public void test() throws Exception {
@ -64,7 +60,6 @@ public class MethodHandlesSpreadArgumentsTest extends DynamicArchiveTestBase {
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();