[jdk11u-dev] RFR: 8309841: Jarsigner should print a warning if an entry is removed
Alexey Bakhtin
abakhtin at openjdk.org
Fri Feb 28 20:25:00 UTC 2025
On Fri, 28 Feb 2025 16:21:45 GMT, Roman Marchenko <rmarchenko at openjdk.org> wrote:
> This is backport of "8309841: Jarsigner should print a warning if an entry is removed"
>
> Original patch does not apply cleanly to jdk11, some minor conflicts, and also in `test/jdk/sun/security/tools/jarsigner/RemovedFiles.java` `ed25519` algorithm was replaced with `RSA`, and `_` was replaced with a variable.
>
> We need this fix in jdk11 and below, down to jdk8, as all versions have this issue with jarsigner.
>
> New tests successfully ran locally on Linux, x86_64.
src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Main.java line 1296:
> 1294: }
> 1295: }
> 1296: if (hasNonexistentEntries) {
I think we should check hasNonexistentEntries at line 1259 also. This is a difference between JDK17 and JDK11 versions
-------------
PR Review Comment: https://git.openjdk.org/jdk11u-dev/pull/3007#discussion_r1975969928
More information about the jdk-updates-dev
mailing list