changeset 14499:e8a58d7ea798

8132672: DGCDeadLock test needs to be updated to wok with modules
author amlu
date Thu, 19 Nov 2015 15:03:15 +0000
parents 1d2dd559597e
children e6921b23f45b
files test/ProblemList.jake.txt test/java/rmi/transport/dgcDeadLock/DGCDeadLock.java
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.jake.txt	Wed Nov 18 16:47:05 2015 +0000
+++ b/test/ProblemList.jake.txt	Thu Nov 19 15:03:15 2015 +0000
@@ -66,9 +66,6 @@
 # 8078484
 sun/rmi/rmic/newrmic/equivalence/run.sh				generic-all
 
-# 8132672
-java/rmi/transport/dgcDeadLock/DGCDeadLock.java			generic-all
-
 ############################################################################
 
 # jdk_other
--- a/test/java/rmi/transport/dgcDeadLock/DGCDeadLock.java	Wed Nov 18 16:47:05 2015 +0000
+++ b/test/java/rmi/transport/dgcDeadLock/DGCDeadLock.java	Thu Nov 19 15:03:15 2015 +0000
@@ -74,6 +74,10 @@
         try {
             String options = " -Djava.security.policy=" +
                 TestParams.defaultPolicy +
+                " -XaddExports:java.rmi/sun.rmi.registry=ALL-UNNAMED," +
+                "java.rmi/sun.rmi.server=ALL-UNNAMED," +
+                "java.rmi/sun.rmi.transport=ALL-UNNAMED," +
+                "java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED" +
                 " -Djava.rmi.dgc.leaseValue=500000" +
                 "  -Dsun.rmi.dgc.checkInterval=" +
                 (HOLD_TARGET_TIME - 5000) +