Review request for test bug 8015765: java/nio/channels/ServerSocketChannel/AdaptServerSocket.java

Alan Bateman Alan.Bateman at oracle.com
Tue Aug 13 07:01:48 PDT 2013


On 13/08/2013 12:24, Eric Wang wrote:
> Hi,
>
> Please help to review the fix below for the bug 
> https://jbs.oracle.com/bugs/browse/JDK-8015765.
> http://cr.openjdk.java.net/~ewang/8015765/webrev.00/
>
> As the test is depended on thread schedule, it may fail 
> intermittently.The fix is to adjust thread priority, and increase 
> thread sleep duration, to make it more stable.
>
> Thanks,
> Eric
This a JDK 1.4 era test so thanks for looking at it.

The change looks okay to me although I think I'd leave out the changes 
to the thread priority as that shouldn't be needed.

-Alan.




More information about the nio-dev mailing list