8206330: Revisit com/sun/jdi/RedefineCrossEvent.java
authorgadams
Tue, 23 Oct 2018 11:51:03 -0400
changeset 52365 45e3d52aaced
parent 52364 750b500ef4de
child 52366 8f543813b402
8206330: Revisit com/sun/jdi/RedefineCrossEvent.java Reviewed-by: cjplummer, sspitsyn, amenkov
test/jdk/ProblemList.txt
test/jdk/com/sun/jdi/RedefineCrossEvent.java
test/jdk/com/sun/jdi/TestScaffold.java
--- a/test/jdk/ProblemList.txt	Thu Oct 18 15:56:37 2018 -0500
+++ b/test/jdk/ProblemList.txt	Tue Oct 23 11:51:03 2018 -0400
@@ -874,14 +874,6 @@
 
 ############################################################################
 
-###########################################################################
-#
-# Java EE Module Removal
-#
-com/sun/jdi/RedefineCrossEvent.java                             8194308    generic-all  Java EE Module Removal
-
-############################################################################
-
 # jdk_jfr
 
 jdk/jfr/event/io/TestInstrumentation.java                       8202142    generic-all
--- a/test/jdk/com/sun/jdi/RedefineCrossEvent.java	Thu Oct 18 15:56:37 2018 -0500
+++ b/test/jdk/com/sun/jdi/RedefineCrossEvent.java	Tue Oct 23 11:51:03 2018 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2018, 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
@@ -27,9 +27,6 @@
  * @summary Test class redefinition at each event cross tested with other tests
  * @author Robert Field
  *
- * @modules java.corba
- *          jdk.jdi
- *
  * @run build TestScaffold VMConnection TargetAdapter TargetListener
  * @run compile -g AccessSpecifierTest.java
  * @run compile -g AfterThreadDeathTest.java
--- a/test/jdk/com/sun/jdi/TestScaffold.java	Thu Oct 18 15:56:37 2018 -0500
+++ b/test/jdk/com/sun/jdi/TestScaffold.java	Tue Oct 23 11:51:03 2018 -0400
@@ -542,7 +542,9 @@
                                 redefine(mainStartClass);
                             }
                         } else {
-                            redefine(rt);
+                            if (!name.startsWith("jdk.")) {
+                                redefine(rt);
+                            }
                         }
                     }
                 }