Skip to content

Commit

Permalink
8336843: Deprecate java.util.zip.ZipError for removal
Browse files Browse the repository at this point in the history
Reviewed-by: liach, lancea
  • Loading branch information
Eirik Bjørsnøs committed Oct 8, 2024
1 parent f62dba3 commit 7a1e832
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/java.base/share/classes/java/util/zip/ZipError.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -28,9 +28,12 @@
/**
* Signals that an unrecoverable error has occurred.
*
* @deprecated ZipError is no longer used and is obsolete.
* {@link ZipException} should be used instead.
* @author Dave Bristor
* @since 1.6
*/
@Deprecated(since="24", forRemoval = true)
public class ZipError extends InternalError {
@java.io.Serial
private static final long serialVersionUID = 853973422266861979L;
Expand Down

0 comments on commit 7a1e832

Please sign in to comment.