Code Review Request 8143298 Test ReadTimeout.java fails intermittently
Wang Weijun
weijun.wang at oracle.com
Wed Dec 2 01:05:08 UTC 2015
Socket is a Closeable, so you can
try (Socket sock = ....) { ... }
If you want more debug messages, why not e.printStackTrace()? Message is enough?
Thanks
Max
> On Dec 2, 2015, at 8:55 AM, Xuelei Fan <xuelei.fan at oracle.com> wrote:
>
> Hi,
>
> Please review the test fix for JDK-8143298:
>
> http://cr.openjdk.java.net/~xuelei/8143298/webrev.00/
>
> The root cause of the intermittent test failure is still unclear to me.
> I updated the test with more output messages, and clear the resources
> in finally blocks. Hope the update can expose the real cause if it
> fails again in the future.
>
> Thanks,
> Xuelei
More information about the security-dev
mailing list