[jdk25u-dev] RFR: 8360562: sun/security/tools/keytool/i18n.java add an ability to add comment for failures

Roland Mesde duke at openjdk.org
Wed Dec 3 22:26:54 UTC 2025


Backporting JDK-8360562: sun/security/tools/keytool/i18n.java add an ability to add comment for failures.

For parity with Oracle JDK. The commit adds failure comment capability to sun/security/tools/keytool/i18n.java to enable faster verification and reporting.

Ran the manual test on macos-aarch64:

jtreg -jdk build/macosx-aarch64-server-release/images/jdk -vmoption:-Duser.language=en -m test/jdk/sun/security/tools/keytool/i18n.java

It generated the dialog box when the "fail" button is selected and the written text is reflected on the test report. Screenshots attached.

<img width="782" height="493" alt="DialogBox" src="https://github.com/user-attachments/assets/b1c10e7a-7d1e-488e-ac67-b3d61e26cbe4" />
<img width="538" height="213" alt="TestReport" src="https://github.com/user-attachments/assets/e4c64f00-b556-4a14-9073-0df3522603b1" />

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

(Passed) - make test-tier1

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

Commit messages:
 - Backport ebb6fd7d7865fd20ff2f90b4ef72c5ef6a3e5dea

Changes: https://git.openjdk.org/jdk25u-dev/pull/57/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=57&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360562
  Stats: 44 lines in 1 file changed: 42 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/57.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/57/head:pull/57

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


More information about the jdk-updates-dev mailing list