Integrated: 7022325: TEST_BUG: test/java/util/zip/ZipFile/ReadLongZipFileName.java leaks files if it fails
Jaikiran Pai
jpai at openjdk.org
Sun Jun 2 01:11:07 UTC 2024
On Fri, 31 May 2024 00:57:18 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> Can I please get a review of this test-only change which updates a couple of places in the test to use `try-with-resource`?
>
> As noted in https://bugs.openjdk.org/browse/JDK-7022325 this change should prevent leaking of resources in case there's any failure in the test. The test continues to pass with this change.
This pull request has now been integrated.
Changeset: 4785461f
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4785461f61d8f5c7444d2e6fd90f1e083dbc6fe4
Stats: 128 lines in 1 file changed: 34 ins; 68 del; 26 mod
7022325: TEST_BUG: test/java/util/zip/ZipFile/ReadLongZipFileName.java leaks files if it fails
Reviewed-by: lancea
-------------
PR: https://git.openjdk.org/jdk/pull/19492
More information about the core-libs-dev
mailing list