[14] RFR JDK-8228613 "java.security.Provider#getServices order is no longer deterministic"

Valerie Peng valerie.peng at oracle.com
Wed Aug 7 00:59:33 UTC 2019


Anyone can help review this fix? SUN provider supports multiple impls of 
SecureRandom and rely on the ordering of the set returned by 
Provider.getServices() to choose the most preferred RNG algo for new 
SecureRandom() calls. Instead of maintaining the ordering, I think it's 
faster and more robust to use an alias "DEFAULT" to indicate the most 
preferred RNG algo for SUN provider.

Bug: https://bugs.openjdk.java.net/browse/JDK-8228613

Webrev: http://cr.openjdk.java.net/~valeriep/8228613/webrev.00/

Thanks,
Valerie



More information about the security-dev mailing list