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

Roman Marchenko rmarchenko at openjdk.org
Fri Feb 28 16:26:22 UTC 2025


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.

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

Commit messages:
 - Backport bdfb41f977258831e4b0ceaef5d016d095ab6e7f

Changes: https://git.openjdk.org/jdk11u-dev/pull/3007/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3007&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309841
  Stats: 241 lines in 5 files changed: 240 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/3007.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3007/head:pull/3007

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


More information about the jdk-updates-dev mailing list