changeset 10181:22949288db09

8038321: RMIConnector_NPETest.java can't start rmid if running on fastdebug or Solaris-sparc Reviewed-by: sla, jbachorik
author sjiang
date Tue, 24 Jun 2014 11:09:57 +0200
parents 4a24b00c9b15
children 394fde15bca6
files test/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/management/remote/mandatory/connection/RMIConnector_NPETest.java	Tue Jun 24 10:47:30 2014 +0400
+++ b/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;