netty5/common/src
Norman Maurer 584fbac6ed [#3419] Only use SecureRandom to generate initialSeed if requested
Motivation:

We tried to always use SecureRandom to generate the initialSeed for our ThreadLocalRandom, this can sometimes give warnings under normal usage. We should better not use SecureRandom as default (just as the implementation in jsr166y does) and only try if the user specified -Djava.util.secureRandomSeed=true .

Modifications:

Only try to use SecureRandom when -Djava.util.secureRandomSeed=true is used.

Result:

Less likely to see entropy warnings.
2016-06-06 09:09:29 +02:00
..
main [#3419] Only use SecureRandom to generate initialSeed if requested 2016-06-06 09:09:29 +02:00
test DefaultPromise StackOverflowError protection updates 2016-06-02 09:22:47 -07:00