Please just use othervm, and remove the finally block. If oldegd is null the code change will change the environment permanently.

--Max

On 8/29/2016 23:20, Sibabrata Sahoo wrote:
Hi,



Please review the patch for
“sun/security/provider/SecureRandom/AutoReseed.java failed with timeout”



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

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



Description:

The Test was blocked while generating seed. I have providing a fix by
choosing a non-blocking mechanism while seeding by setting
"java.security.egd" System property to "file:/dev/urandom".



Thanks,

Siba



Reply via email to