Code Review Request, 8144313, Test SessionTimeOutTests can be timeout

Xuelei Fan xuelei.fan at oracle.com
Tue Dec 1 10:48:21 UTC 2015


Hi,

Please review this test update:

   http://cr.openjdk.java.net/~xuelei/8144313/webrev.00/

In test/javax/net/ssl/SSLSession/SessionTimeOutTests.java, the update of
"serverReady" variable was not synchronized when performing multiple
operations, as may result that the variable cannot be calculated
correctly, and result in timeout accordingly.

Update to use AtomicInteger for the atomic update.

Thanks,
Xuelei


More information about the security-dev mailing list