[jdk17u-dev] RFR: 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract

Matthias Baesken mbaesken at openjdk.org
Mon Mar 24 09:10:18 UTC 2025


On Sat, 22 Mar 2025 05:17:41 GMT, Martin Balao <mbalao at openjdk.org> wrote:

> Hi,
> 
> I'd like to have a review for the 17u backport of [8339810](https://bugs.openjdk.org/browse/JDK-8339810).
> 
> Changes to the 21u patch:
> 
>  * src/jdk.jartool/share/classes/sun/tools/jar/Main.java
>    * Copyright date. Manually fixed.
>    * 17u does not have 8258117 so the context is different and changes do not apply cleanly.
> 
> Testing:
> 
>  * No regressions found in jdk/sun/security/tools/jarsigner.
> 
> Thanks,
> Martin.-

Marked as reviewed by mbaesken (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3399#pullrequestreview-2709644053


More information about the jdk-updates-dev mailing list