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