8038321: RMIConnector_NPETest.java can't start rmid if running on fastdebug or Solaris-sparc
Reviewed-by: sla, jbachorik
--- 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;