-
Bug
-
Resolution: Fixed
-
P4
-
1.0
-
None
-
1.0.1
-
generic
-
generic
Try to create a jmxmp server with an unallowed port like 1, and catch IOException caused by the creation, then try stop that server will get a NullPointerException.
see the following code:
JMXServiceURL u = null;
JMXConnectorServer server = null;
try {
u = new JMXServiceURL(proto, null, 1);
try {
server = JMXConnectorServerFactory.newJMXConnectorServer(u, null, mbs);
server.start();
} catch (Exception e) {}
server.stop();
see the following code:
JMXServiceURL u = null;
JMXConnectorServer server = null;
try {
u = new JMXServiceURL(proto, null, 1);
try {
server = JMXConnectorServerFactory.newJMXConnectorServer(u, null, mbs);
server.start();
} catch (Exception e) {}
server.stop();
- relates to
-
JDK-4969755 JSR160 : IOE not thrown by optional connector with RH9
-
- Closed
-