[9] RFR: 8163924: SSLEngineBadBufferArrayAccess.java fails intermittently with Unrecognized SSL message

Artem Smotrakov artem.smotrakov at oracle.com
Wed Sep 7 21:58:10 UTC 2016


Hello,

Please review the following patch for SSLEngineBadBufferArrayAccess.java 
test.

The test has been observed to fail intermittently with "Unrecognized SSL 
message" error. I couldn't reproduce it, and it's currently not clear 
what caused the test to fail. One guess is that something else might 
connect to the server which caused this error. The patch enables 
additional debug output, so that we have more info if it fails next 
time. JTREG truncates logs, but it's fine since we are interested only 
in last handshaking.

The patch also updates the test to report unexpected exceptions, and 
close files and sockets.

Any other suggestions are very welcome.

Bug: https://bugs.openjdk.java.net/browse/JDK-8163924
Webrev: http://cr.openjdk.java.net/~asmotrak/8163924/webrev.00/

Artem



More information about the security-dev mailing list