[jdk25u-dev] RFR: 8367583: sun/security/util/AlgorithmConstraints/InvalidCryptoDisabledAlgos.java fails after JDK-8244336
Roland Mesde
duke at openjdk.org
Wed Dec 17 22:20:17 UTC 2025
Backporting JDK-8367583: sun/security/util/AlgorithmConstraints/InvalidCryptoDisabledAlgos.java fails after JDK-8244336.
For parity with Oracle JDK.
This commit removes the dependency on jdk.test.lib.Utils class to avoid premature security API initialization. Test maintains same functionality and expectations without the problematic utility class.
Ran the specific test on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
(Passed) - make test TEST=test/jdk/sun/security/util/AlgorithmConstraints/InvalidCryptoDisabledAlgos.java
-------------
Commit messages:
- Backport ff538c7f5641bb24748243da44de5d964141ae31
Changes: https://git.openjdk.org/jdk25u-dev/pull/108/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=108&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367583
Stats: 18 lines in 1 file changed: 8 ins; 4 del; 6 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/108.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/108/head:pull/108
PR: https://git.openjdk.org/jdk25u-dev/pull/108
More information about the jdk-updates-dev
mailing list