[9] RFR: 8157417: Some of SecureRandom test might get timed out in linux.

Sibabrata Sahoo sibabrata.sahoo at oracle.com
Fri May 20 10:11:53 UTC 2016


I missed to include one more test.

Here is the updated one: http://cr.openjdk.java.net/~ssahoo/8157417/webrev.01/

 

sun/security/provider/SeedGenerator/SeedGeneratorChoice.java might also fail in Linux without the fix provided.

 

Thanks,

Siba

 

From: Sibabrata Sahoo 
Sent: Friday, May 20, 2016 3:06 PM
To: Weijun Wang; security-dev at openjdk.java.net
Subject: [9] RFR: 8157417: Some of SecureRandom test might get timed out in linux.

 

Hi,

 

Please review the following fix for SecureRandom test which might cause timeout in Linux.

 

webrev: http://cr.openjdk.java.net/~ssahoo/8157417/webrev.00/

JBS: https://bugs.openjdk.java.net/browse/JDK-8157417

 

The change includes:

-          Added "-Djava.security.egd=file:/dev/urandom" without which the test might timeout in Linux. The change included in "MultiThreadTest.java" and "SerializedSeedTest.java".

-          Added finally inside "GetInstanceTest.java" to preserve the original  security property correctly in case of rare failure.

 

Thanks,

Siba

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20160520/a3af43b7/attachment.htm>


More information about the security-dev mailing list