RFR: 8004126: TEST_BUG: com/sun/jdi/BadHandshakeTest.java fails intermittently

Yekaterina Kantserova yekaterina.kantserova at oracle.com
Thu Nov 7 06:24:28 PST 2013


Hi,

would you like to use JDKToolLauncher instead of JdkFinder? The 
JdkFinder will be removed soon (RFR (S): 8015497: Take new fixes from 
hotspot/test/testlibrary to jdk/test/lib/testlibrary).

The example how to use can be found in 
sun/management/jmxremote/bootstrap/LocalManagementTest.java.

Thanks,
Katja



On 11/07/2013 03:01 PM, Jaroslav Bachorik wrote:
> Please, review this test fix.
>
> Issue : https://bugs.openjdk.java.net/browse/JDK-8004126
> Webrev: http://cr.openjdk.java.net/~jbachorik/8004126/webrev.00
>
> The failure was caused by the IOHandler not waiting for the actual 
> message stating the the debugee was ready. The patch uses the library 
> functions to start the debugee and wait for the actual message to 
> appear. Also, it detects problems while starting the debugee and 
> reports them instead of failing only when the debugger can not connect.
>
> Thanks,
>
> -JB-



More information about the serviceability-dev mailing list