Skip to content

Commit e20004d

Browse files
committed
8249625: cleanup unused SkippedException in the tests under cds/appcds/dynamicArchive/methodHandles
Reviewed-by: iklam
1 parent 63a5a12 commit e20004d

7 files changed

+0
-35
lines changed

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/CDSMHTest_generate.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ import org.junit.Test;
8080
8181
import java.io.File;
8282
83-
import jtreg.SkippedException;
84-
85-
import sun.hotspot.gc.GC;
86-
8783
public class $i extends DynamicArchiveTestBase {
8884
@Test
8985
public void test() throws Exception {
@@ -96,7 +92,6 @@ public class $i extends DynamicArchiveTestBase {
9692
private static final String ps = System.getProperty("path.separator");
9793
private static final String testPackageName = "test.java.lang.invoke";
9894
private static final String testClassName = "$i";
99-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
10095
10196
static void testImpl() throws Exception {
10297
String topArchiveName = getNewArchiveName();

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesAsCollectorTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
import java.io.File;
5050

51-
import jtreg.SkippedException;
52-
53-
import sun.hotspot.gc.GC;
54-
5551
public class MethodHandlesAsCollectorTest extends DynamicArchiveTestBase {
5652
@Test
5753
public void test() throws Exception {
@@ -64,7 +60,6 @@ public void test() throws Exception {
6460
private static final String ps = System.getProperty("path.separator");
6561
private static final String testPackageName = "test.java.lang.invoke";
6662
private static final String testClassName = "MethodHandlesAsCollectorTest";
67-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
6863

6964
static void testImpl() throws Exception {
7065
String topArchiveName = getNewArchiveName();

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesCastFailureTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
import java.io.File;
5050

51-
import jtreg.SkippedException;
52-
53-
import sun.hotspot.gc.GC;
54-
5551
public class MethodHandlesCastFailureTest extends DynamicArchiveTestBase {
5652
@Test
5753
public void test() throws Exception {
@@ -64,7 +60,6 @@ public void test() throws Exception {
6460
private static final String ps = System.getProperty("path.separator");
6561
private static final String testPackageName = "test.java.lang.invoke";
6662
private static final String testClassName = "MethodHandlesCastFailureTest";
67-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
6863

6964
static void testImpl() throws Exception {
7065
String topArchiveName = getNewArchiveName();

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesGeneralTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
import java.io.File;
5050

51-
import jtreg.SkippedException;
52-
53-
import sun.hotspot.gc.GC;
54-
5551
public class MethodHandlesGeneralTest extends DynamicArchiveTestBase {
5652
@Test
5753
public void test() throws Exception {
@@ -64,7 +60,6 @@ public void test() throws Exception {
6460
private static final String ps = System.getProperty("path.separator");
6561
private static final String testPackageName = "test.java.lang.invoke";
6662
private static final String testClassName = "MethodHandlesGeneralTest";
67-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
6863

6964
static void testImpl() throws Exception {
7065
String topArchiveName = getNewArchiveName();

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesInvokersTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
import java.io.File;
5050

51-
import jtreg.SkippedException;
52-
53-
import sun.hotspot.gc.GC;
54-
5551
public class MethodHandlesInvokersTest extends DynamicArchiveTestBase {
5652
@Test
5753
public void test() throws Exception {
@@ -64,7 +60,6 @@ public void test() throws Exception {
6460
private static final String ps = System.getProperty("path.separator");
6561
private static final String testPackageName = "test.java.lang.invoke";
6662
private static final String testClassName = "MethodHandlesInvokersTest";
67-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
6863

6964
static void testImpl() throws Exception {
7065
String topArchiveName = getNewArchiveName();

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesPermuteArgumentsTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
import java.io.File;
5050

51-
import jtreg.SkippedException;
52-
53-
import sun.hotspot.gc.GC;
54-
5551
public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase {
5652
@Test
5753
public void test() throws Exception {
@@ -64,7 +60,6 @@ public void test() throws Exception {
6460
private static final String ps = System.getProperty("path.separator");
6561
private static final String testPackageName = "test.java.lang.invoke";
6662
private static final String testClassName = "MethodHandlesPermuteArgumentsTest";
67-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
6863

6964
static void testImpl() throws Exception {
7065
String topArchiveName = getNewArchiveName();

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/methodHandles/MethodHandlesSpreadArgumentsTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848

4949
import java.io.File;
5050

51-
import jtreg.SkippedException;
52-
53-
import sun.hotspot.gc.GC;
54-
5551
public class MethodHandlesSpreadArgumentsTest extends DynamicArchiveTestBase {
5652
@Test
5753
public void test() throws Exception {
@@ -64,7 +60,6 @@ public void test() throws Exception {
6460
private static final String ps = System.getProperty("path.separator");
6561
private static final String testPackageName = "test.java.lang.invoke";
6662
private static final String testClassName = "MethodHandlesSpreadArgumentsTest";
67-
private static final String skippedException = "jtreg.SkippedException: Unable to map shared archive: test did not complete";
6863

6964
static void testImpl() throws Exception {
7065
String topArchiveName = getNewArchiveName();

0 commit comments

Comments
 (0)