Can someone help review this somewhat trivial change? Updated JCAUtil class to return the cached SecureRandom object only when the provider configuration has not changed. Added a regression test to check the affected classes, i.e. AlgorithmParameterGenerator, KeyPairGenerator, Cipher, KeyAgreement, KeyGenerator.
Thanks, Valerie ------------- Commit messages: - 8260274: Cipher.init(int, key) does not use highest priority provider for random bytes Changes: https://git.openjdk.java.net/jdk/pull/3018/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3018&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8260274 Stats: 241 lines in 7 files changed: 220 ins; 0 del; 21 mod Patch: https://git.openjdk.java.net/jdk/pull/3018.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3018/head:pull/3018 PR: https://git.openjdk.java.net/jdk/pull/3018