RFR : JDK-8204661 - Show error 'Port already in use' in HashedPasswordFileTest.java

Harsha Wardhana B harsha.wardhana.b at oracle.com
Wed Jun 20 08:14:22 UTC 2018


Hi,

Please find the fix below for the bug

JDK-8204661 : Show error 'Port already in use' in 
HashedPasswordFileTest.java

having webrev at,

http://cr.openjdk.java.net/~hb/8204661/webrev.00/

The problem root-cause is discussed in the comments section of the bug.

The fix above lets the default agent pick a free port by passing 
'port=0' value and then reads the JMX Connector URL from Perf Counters.

Please review the fix above and provide comments.

Thanks
Harsha




More information about the serviceability-dev mailing list