RFR 8066708: JMXStartStopTest fails to connect to port 38112

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Mon Dec 8 20:35:01 UTC 2014


Please, review the following test change

Issue : https://bugs.openjdk.java.net/browse/JDK-8066708
Webrev: http://cr.openjdk.java.net/~jbachorik/8066708/webrev.00

The test fails very intermittently when RMI registry is trying to bind 
to a port previously used in the test (via ServerSocket).

This seems to be caused by the sockets created via `new ServerSocket(0)` 
and being in reusable mode. The fix attempts to prevent this by 
explicitly forbidding the reusable mode.

Thanks,

-JB-


More information about the serviceability-dev mailing list