[jdk25u-dev] RFR: 8368754: runtime/cds/appcds/SignedJar.java log regex is too strict

Roland Mesde duke at openjdk.org
Wed Dec 3 17:23:42 UTC 2025


Backporting JDK-8368754: runtime/cds/appcds/SignedJar.java log regex is too strict.

For parity with Oracle JDK. Fix allows whitespace after log tags and before the message content. 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/hotspot/jtreg/runtime/cds/appcds
(Passed) - make test TEST=test/hotspot/jtreg/runtime/cds/appcds/SignedJar.java JTREG="VM_OPTIONS=-verbose:class"

Results are attached.

[linux-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23912663/linux-aarch64-jtreg-tier1.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/23912664/linux-aarch64-specific-test.log)
[linux-aarch64-specific-2-test.log](https://github.com/user-attachments/files/23912665/linux-aarch64-specific-2-test.log)
[linux-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23912666/linux-x64-jtreg-tier1.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/23912667/linux-x64-specific-test.log)
[linux-x64-specific-2-test.log](https://github.com/user-attachments/files/23912668/linux-x64-specific-2-test.log)
[macos-aarch64-jtreg-tier1.log](https://github.com/user-attachments/files/23912669/macos-aarch64-jtreg-tier1.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/23912670/macos-aarch64-specific-test.log)
[macos-aarch64-specific-2-test.log](https://github.com/user-attachments/files/23912671/macos-aarch64-specific-2-test.log)
[windows-x64-jtreg-tier1.log](https://github.com/user-attachments/files/23912672/windows-x64-jtreg-tier1.log)
[windows-x64-specific-test.log](https://github.com/user-attachments/files/23912673/windows-x64-specific-test.log)
[windows-x64-specific-2-test.log](https://github.com/user-attachments/files/23912674/windows-x64-specific-2-test.log)

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

Commit messages:
 - Backport e19ec6f785e889d254b15c5ef2e801152c59c948

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

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


More information about the jdk-updates-dev mailing list