8038321: RMIConnector_NPETest.java can't start rmid if running on fastdebug or Solaris-sparc
authorsjiang
Tue, 24 Jun 2014 11:09:57 +0200
changeset 25160 6f841ed9f1ec
parent 25159 fdacfe8fd602
child 25161 c85a08c0b9d9
8038321: RMIConnector_NPETest.java can't start rmid if running on fastdebug or Solaris-sparc Reviewed-by: sla, jbachorik
jdk/test/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java
--- a/jdk/test/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java	Tue Jun 24 10:47:30 2014 +0400
+++ b/jdk/test/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java	Tue Jun 24 11:09:57 2014 +0200
@@ -38,7 +38,7 @@
 public class RMIConnector_NPETest {
     public static void main(String argv[]) throws Exception {
         RMID rmid = RMID.createRMID();
-        rmid.start();
+        rmid.start(Long.MAX_VALUE);
         int rmidPort = rmid.getPort();
         Exception failureCause = null;
         RMIConnector agent = null;