[jdk25u-dev] RFR: 8357470: src/java.base/share/classes/sun/security/util/Debug.java implement the test for args.toLowerCase

Roland Mesde duke at openjdk.org
Wed Dec 3 22:29:35 UTC 2025


Backporting JDK-8357470: src/java.base/share/classes/sun/security/util/Debug.java implement the test for args.toLowerCase.

Enhanced sun/security/util/Debug.java test with:
- Implemented args.toLowerCase validation
- Added automated mixed-case option testing
- Converted to multi-threaded execution
- Added debug logging
- Added missing -Djava.security.auth.debug coverage

For parity with Oracle JDK. 

Ran GHA Sanity Checks (passed), jtreg tier1 tests (passed) and related tests (passed) on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

(Passed) - make test-tier1
(Passed) - make test TEST=test/jdk/sun/security/util/Debug

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

Commit messages:
 - Backport 6d0bbc8a18fa555b5e8d132bef400097ef6ee5cb

Changes: https://git.openjdk.org/jdk25u-dev/pull/58/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=58&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357470
  Stats: 131 lines in 1 file changed: 87 ins; 4 del; 40 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/58.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/58/head:pull/58

PR: https://git.openjdk.org/jdk25u-dev/pull/58


More information about the jdk-updates-dev mailing list