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

Xuelei Fan xuelei.fan at oracle.com
Wed Sep 14 01:39:30 UTC 2016


I think the failure may caused by using free port by other test cases. 
As you were already there, would you mind update to use the 
SSLSocketSample.java template under the folder test/javax/net/ssl/templates?

Thanks,
Xuelei

On 9/14/2016 9:31 AM, Artem Smotrakov wrote:
> 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