RFR(XS): 8027668: sun/tools/jstatd/TestJstatdPort.java: java.net.ConnectException: Connection refused: connect

Yekaterina Kantserova yekaterina.kantserova at oracle.com
Thu Apr 2 12:16:43 UTC 2015


Hi,

Could I please have a review of this fix.

bug: https://bugs.openjdk.java.net/browse/JDK-8027668
webrev: http://cr.openjdk.java.net/~ykantser/8027668/webrev.00/

The tests can still contain a race. There is a possibility the jstad is 
not really started though there is a pid for the process. The suggestion 
is to let jstatd notify it's started and for the test wait until this 
notification.

Thanks,
Katja


More information about the serviceability-dev mailing list