[jdk11u-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
Wed Mar 26 00:57:17 UTC 2025


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

> Hi,
> 
> I'd like to have a review for the 11u backport of [8339810](https://bugs.openjdk.org/browse/JDK-8339810).
> 
> Changes to the 17u patch:
> 
>  * src/jdk.jartool/share/classes/sun/tools/jar/Main.java
>    * Copyright date. Manually fixed.
>    * 11u does not have 8276766 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: 6d469db3
Author:    Martin Balao <mbalao at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/6d469db3a627913c0cb1d31e7c143e10bf20e371
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: yan, andrew
Backport-of: 8fce5275fc94ebc404a6a37f5ea0407140de63c1

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

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


More information about the jdk-updates-dev mailing list