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

Andrew John Hughes andrew at openjdk.org
Fri Mar 21 17:17:15 UTC 2025


On Fri, 21 Mar 2025 17:12:34 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

> > @gnu-andrew BTW [JDK-8240235](https://bugs.openjdk.org/browse/JDK-8240235) modifies a line in `updateJarFile` procedure which was added by [JDK-8211171](https://bugs.openjdk.org/browse/JDK-8211171). Do you think [JDK-8211171](https://bugs.openjdk.org/browse/JDK-8211171) should be backported also?
> 
> I was just looking at the same bug with respect to where the import statement came from in 11u. I think 8211171 might be useful for 8u, but it's a bit involved to require for this change, as it updates numerous tests which use `JarUtils`. I'm happy for a JDK-8240235 to just update the existing method, `updateJar`. I'll take a look at 8211171 and include the updated line in that backport if I decide to go ahead.

Incidentally, the main reason for 8211171 was that there were two `JarUtils` in 11u under jdk and jaxp. The jaxp one is not present in 8u so there's no duplication issue.

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/635#issuecomment-2743979404


More information about the jdk8u-dev mailing list