[jdk21u-dev] RFR: 8329754: The ThreadSafe attribute is ignored for SecureRandom algorithm aliases

Satyen Subramaniam ssubramaniam at openjdk.org
Thu Apr 3 23:10:58 UTC 2025


Backporting JDK-8329754: The ThreadSafe attribute is ignored for SecureRandom algorithm aliases. Fixes a bug that occurs when a provider registers an alias for the `SecureRandom` algorithm with "ThreadSafe=true" and where the `SecureRandom` instances using the alias do not honor the `ThreadSafe` attribute.

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

Commit messages:
 - Backport 56387a09810a3204ed820885e0ff0b26408be59d

Changes: https://git.openjdk.org/jdk21u-dev/pull/1587/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1587&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329754
  Stats: 40 lines in 2 files changed: 21 ins; 0 del; 19 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1587.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1587/head:pull/1587

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


More information about the jdk-updates-dev mailing list