[jdk25u] RFR: 8367782: VerifyJarEntryName.java: Fix modifyJarEntryName to operate on bytes and re-introduce verifySignatureEntryName
Francisco Ferrari Bihurriet
fferrari at openjdk.org
Fri Sep 19 15:37:24 UTC 2025
Hi, I'm proposing this test-only improvement for consistency with the older releases, where I'm doing backports of the main issue ([JDK-8339280](https://bugs.openjdk.org/browse/JDK-8339280 "jarsigner -verify performs cross-checking between CEN and LOC"), openjdk/jdk at bbd5b174c50346152a624317b6bd76ec48f7e551) and also including this version of the test. Those backports are openjdk/jdk21u-dev#2235, openjdk/jdk17u-dev#3954, openjdk/jdk11u-dev#3098 and openjdk/jdk8u-dev#699.
The backport is clean and improves the reliability and coverage of the `VerifyJarEntryName.java` test.
-------------
Commit messages:
- Backport 1b9a11682d5f73885213822423bfce8dfc17febd
Changes: https://git.openjdk.org/jdk25u/pull/221/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u&pr=221&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367782
Stats: 27 lines in 1 file changed: 22 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk25u/pull/221.diff
Fetch: git fetch https://git.openjdk.org/jdk25u.git pull/221/head:pull/221
PR: https://git.openjdk.org/jdk25u/pull/221
More information about the jdk-updates-dev
mailing list