[jdk11u-dev] Integrated: 8309841: Jarsigner should print a warning if an entry is removed

Roman Marchenko rmarchenko at openjdk.org
Thu Mar 20 10:19:14 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, and added the check in `src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Main.java` at line 1259.
> 
> 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.

This pull request has now been integrated.

Changeset: 6b7a312b
Author:    Roman Marchenko <rmarchenko at openjdk.org>
Committer: Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/6b7a312bd3255b4b020d3f027a98e7831f575dd4
Stats:     242 lines in 5 files changed: 241 ins; 0 del; 1 mod

8309841: Jarsigner should print a warning if an entry is removed

Reviewed-by: abakhtin, andrew
Backport-of: bdfb41f977258831e4b0ceaef5d016d095ab6e7f

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

PR: https://git.openjdk.org/jdk11u-dev/pull/3007


More information about the jdk-updates-dev mailing list