diff --git a/src/java.base/share/classes/java/io/ObjectOutputStream.java b/src/java.base/share/classes/java/io/ObjectOutputStream.java index dda9318f9bd..2dcf174cf53 100644 --- a/src/java.base/share/classes/java/io/ObjectOutputStream.java +++ b/src/java.base/share/classes/java/io/ObjectOutputStream.java @@ -1027,7 +1027,7 @@ public class ObjectOutputStream * calling the {@link java.io.ObjectOutputStream#writeFields()} * method. */ - @Deprecated + @Deprecated(forRemoval = true, since = "1.4") public abstract void write(ObjectOutput out) throws IOException; }