From 4c190b285ecaee5001ee86a2d548d065c0852145 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Fri, 6 Sep 2024 01:18:32 -0400 Subject: [PATCH] Avoid using ZipError --- .../src/main/java/sbt/internal/inc/zip/ZipCentralDir.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java b/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java index 20fe9e1c9..c0ca6d8aa 100644 --- a/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java +++ b/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java @@ -302,8 +302,8 @@ public int hashCode() { IndexNode child; // 1st child } - private static void zerror(String msg) { - throw new ZipError(msg); + private static void zerror(String msg) throws ZipException { + throw new ZipException(msg); } private void buildNodeTree() {