RFR: JDK-8208471: nsk/jdb/unwatch/unwatch002/unwatch002.java fails with "Prompt is not received during 300200 milliseconds"

Chris Plummer chris.plummer at oracle.com
Thu Sep 20 21:50:05 UTC 2018


This one is a little different than exclude001 in that we don't control 
the name of the thread. We know (at least at the moment) that it is 
called "main", but that could always change. In general I'm fine with 
this fix, but if you have others like it, I'd suggest putting the "main" 
thread name in single place, not in each test that cares about it.

Chris

On 9/20/18 10:54 AM, Gary Adams wrote:
> The corrupted output has been identified due to the "Boolean[1]"
> being misrecognized as a compound prompt.
>
> The proposed fix waits for the correct prompt before
> advancing to the next command.
>
>   Webrev: http://cr.openjdk.java.net/~gadams/8208471/webrev/
>   Issue: https://bugs.openjdk.java.net/browse/JDK-8208471
>
> Testing is in progress.





More information about the serviceability-dev mailing list