Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336843

Deprecate java.util.zip.ZipError for removal

XMLWordPrintable

      The use of the class java.util.zip.ZipError was removed from ZipFile/ZipFileSystem/ZipFileSystemProvider in JDK 9 via JDK-8145260 and
      JDK-8037394. However, the exception class itself has been kept around since then.

      Since the class has been unused by the JDK for this long, we should consider marking it deprecated for removal to allow it being cleaned up.

      Also, the TestZipError test is unfortunately named, since it no longer tests that ZipError is thrown, but instead ZipException.

      See discussion here: https://mail.openjdk.org/pipermail/core-libs-dev/2024-June/125720.html

            eirbjo Eirik Bjørsnøs
            eirbjo Eirik Bjørsnøs
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: