RFR of JDK-8157543,java/nio/channels/Selector/SelectAndCancel.java fails intermittently

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 25 08:09:30 UTC 2018


On 25/04/2018 02:01, Hamlin Li wrote:
> :
>
> I got your concern, update webrev in place, 
> http://cr.openjdk.java.net/~mli/8157543/webrev.00/
> Although I'm not sure if it's necessary, as the new thread is 
> non-daemon, so it will finally be joined(I think so) by JVM, and its 
> exception will cause test failure and message be written to jtreg log
The exception will be printed to the test output but the test will still 
pass. If you change "ex" to be volatile then I think your updated webrev 
looks okay.

-Alan.


More information about the nio-dev mailing list