[jdk21u-dev] RFR: 8325506: Ensure randomness is only read from provided SecureRandom object

Goetz Lindenmaier goetz at openjdk.org
Tue Oct 22 11:05:11 UTC 2024


I backport this to improve testing in 21.
This also adds testing functionality (like asserts) needed by other tests.

The original change touches java.base. That change is not needed.
Instead, the functionality can be implemented right in the test.
I changed this to avoid unnecessary changes to the Java classes.

-------------

Commit messages:
 - Backport b87d9cf2c9d905c15f4c957d42361b1a72974edf

Changes: https://git.openjdk.org/jdk21u-dev/pull/1074/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1074&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325506
  Stats: 554 lines in 5 files changed: 550 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1074.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1074/head:pull/1074

PR: https://git.openjdk.org/jdk21u-dev/pull/1074


More information about the jdk-updates-dev mailing list