RFR of JDK-8157543,java/nio/channels/Selector/SelectAndCancel.java fails intermittently
Hamlin Li
huaming.li at oracle.com
Thu Apr 26 02:32:52 UTC 2018
On 25/04/2018 4:09 PM, Alan Bateman wrote:
> 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.
Hi Alan,
Thank you for review, I have pushed the code with ex as volatile.
-Hamlin
>
> -Alan.
More information about the nio-dev
mailing list