Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336843 Deprecate java.util.zip.ZipError for removal
  3. JDK-8339104

Release Note: java.util.zip.ZipError Is Deprecated for Removal

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • 24
    • None
    • core-libs

      `java.util.zip.ZipError` has been deprecated for removal. This error class has been obsolete for many releases and has not been used by the reference implementation since Java 8.

      Any existing code that used to throw `java.util.zip.ZipError` should consider throwing `java.util.zip.ZipException` instead. Code needing to catch this error when running on releases prior to Java 9 may be updated to catch the parent `java.lang.InternalError` class instead.

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

              Created:
              Updated: