<div dir="ltr">Hi!<div><br></div><div>The java.util.zip.ZipError class seems unused in OpenJDK. I assume this is legacy from the native ZIP implementation in Java 8.</div><div><br></div><div>This exception class extends InternalError and seems to have been added in Java 6 to help compatibility with existing code catching InternalError (JDK-4615343)</div><div><br></div><div>This change also introduced the TestZipError test, which verified that ZipError was thrown while enumerating a ZIP file which was changed after being opened. The reimplementation of the ZIP implementation to Java (JDK-8145260) updated this test to expect a ZipException instead of the ZipError. </div><div><br></div><div>Given that this class has now fallen out of use in OpenJDK, should we:</div><div><br></div><div>1: Deprecate it</div><div>2: Deprecate it for removal</div><div>3: Do nothing, keeping it around has a low cost </div><div>4: Something else </div><div><br></div><div>It would also be useful if someone with access to a large code corpus could search for usages of this class so we could assess compatibility concerns of removing it.</div><div><br></div><div>Thanks,</div><div>Eirik.</div></div>