From 6a5eb26dcf9e9dcf16e80b7c46f16a236a893aef Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Wed, 11 Feb 2026 11:03:03 +0000 Subject: [PATCH] 8377656: JUnit test java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java uses private methods for BeforeAll/AfterAll Reviewed-by: cstein, alanb --- .../jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java b/test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java index 131f7a5c51c..1b7b93785af 100644 --- a/test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java +++ b/test/jdk/java/util/zip/ZipFile/ZipFileInputStreamSkipTest.java @@ -69,7 +69,7 @@ public class ZipFileInputStreamSkipTest { * @throws IOException If an error occurs creating the Zip Files */ @BeforeAll - private static void createZip() throws IOException { + static void createZip() throws IOException { Entry e0 = Entry.of("Entry-0", ZipEntry.STORED, "Tennis Pro"); Entry e1 = Entry.of("Entry-1", ZipEntry.STORED, "United States Tennis Association"); @@ -98,7 +98,7 @@ public class ZipFileInputStreamSkipTest { * @throws IOException If an error occurs during cleanup */ @AfterAll - private static void cleanUp() throws IOException { + static void cleanUp() throws IOException { Files.deleteIfExists(STORED_ZIPFILE); Files.deleteIfExists(DEFLATED_ZIPFILE); }