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

Artem Smotrakov artem.smotrakov at oracle.com
Wed Sep 14 01:31:03 UTC 2016


Hello,

Not urgent, but I would appreciate if somebody can take a look at the 
webrev below and webvev for 8164591. Thank you!

Artem

On 09/07/2016 02:58 PM, Artem Smotrakov wrote:
> 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