On 12/17/2014 06:37 PM, Peter Levart wrote:
Martin wrote:

https://bugs.openjdk.java.net/browse/JDK-8047769

If you've been following this bug, I've figured why the NativePRNG$* classes are initing and thus opening the /dev/random,urandom. This definitely needs some adjustment.

Something like the following could be used in NativePRNG and URLSeedGenerator:

http://cr.openjdk.java.net/~plevart/misc/FileInputStreamPool/FileInputStreamPool.java


Note that this code has a nasty bug - don't use it. I'll post a fixed source later...

Peter

Reply via email to