RFR: 8336843: Deprecate java.util.zip.ZipError for removal
Eirik Bjørsnøs
eirbjo at openjdk.org
Fri Aug 23 15:07:38 UTC 2024
Please review this PR which suggests to deprecate the unused class `java.util.zip.ZipError` for removal.
The class has been unsed by OpenJDK since the ZIP API was rewritten from native to Java in JDK 9.
I opted to not explain the reason for the deprecation in detail, but instead simply point to `ZipException` as an alternative. Should more explanation be desired, I could prepend that with a note saying that the class is unused since JDK 9.
A CSR for this API update has been drafted, I'll update the Specification section there once we reach a concensus on the deprecation note in this PR.
This deprecation was initially suggested here: https://mail.openjdk.org/pipermail/core-libs-dev/2024-June/125720.html
-------------
Commit messages:
- Update copyright year
- Deprecate java.util.zip.ZipError for removal
Changes: https://git.openjdk.org/jdk/pull/20642/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20642&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8336843
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/20642.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20642/head:pull/20642
PR: https://git.openjdk.org/jdk/pull/20642
More information about the core-libs-dev
mailing list