[9] RFR: 8164922: sun/security/provider/SecureRandom/AutoReseed.java failed with timeout in Ubuntu Linux.

Weijun Wang weijun.wang at oracle.com
Tue Aug 30 08:10:23 UTC 2016


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
>
>
>



More information about the security-dev mailing list