[jdk17u-dev] Integrated: 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Martin Balao
mbalao at openjdk.org
Mon Mar 24 18:39:12 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.-
This pull request has now been integrated.
Changeset: 4eeec6ca
Author: Martin Balao <mbalao at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/4eeec6ca8573d5e586195f46b41c97ccd658d4b7
Stats: 181 lines in 1 file changed: 32 ins; 53 del; 96 mod
8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: mbaesken
Backport-of: 8fce5275fc94ebc404a6a37f5ea0407140de63c1
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/3399
More information about the jdk-updates-dev
mailing list