jdk/src/share/classes/javax/management/remote/rmi/RMIConnector.java
changeset 14210 042f1a001234
parent 7167 f5a0fca591f8
child 14342 8435a30053c1
equal deleted inserted replaced
14209:221f6d0a12ea 14210:042f1a001234
   275                 findRMIServer(jmxServiceURL, usemap);
   275                 findRMIServer(jmxServiceURL, usemap);
   276 
   276 
   277             // Check for secure RMIServer stub if the corresponding
   277             // Check for secure RMIServer stub if the corresponding
   278             // client-side environment property is set to "true".
   278             // client-side environment property is set to "true".
   279             //
   279             //
   280             boolean checkStub = EnvHelp.computeBooleanFromString(
   280             String stringBoolean =  (String) usemap.get("jmx.remote.x.check.stub");
   281                     usemap,
   281             boolean checkStub = EnvHelp.computeBooleanFromString(stringBoolean);
   282                     "jmx.remote.x.check.stub",false);
   282 
   283             if (checkStub) checkStub(stub, rmiServerImplStubClass);
   283             if (checkStub) checkStub(stub, rmiServerImplStubClass);
   284 
   284 
   285             // Connect IIOP Stub if needed.
   285             // Connect IIOP Stub if needed.
   286             if (tracing) logger.trace("connect",idstr + " connecting stub...");
   286             if (tracing) logger.trace("connect",idstr + " connecting stub...");
   287             stub = connectStub(stub,usemap);
   287             stub = connectStub(stub,usemap);