This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Patch: java.io.ObjectStreamException
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: java.io.ObjectStreamException
- From: Warren Levy <warrenl at cygnus dot com>
- Date: Fri, 28 Jul 2000 04:56:43 -0700 (PDT)
Here's a trivial fix to match the spec (and generate the right
serialVersionUID).
--warrenl
2000-07-28 Warren Levy <warrenl@cygnus.com>
* java/io/ObjectStreamException.java: Made constructors protected.
Index: java/io/ObjectStreamException.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/io/ObjectStreamException.java,v
retrieving revision 1.1
diff -u -p -r1.1 ObjectStreamException.java
--- ObjectStreamException.java 2000/04/11 09:21:53 1.1
+++ ObjectStreamException.java 2000/07/28 11:56:13
@@ -19,12 +19,12 @@ package java.io;
public abstract class ObjectStreamException extends IOException
{
- public ObjectStreamException()
+ protected ObjectStreamException()
{
super();
}
- public ObjectStreamException(String msg)
+ protected ObjectStreamException(String msg)
{
super(msg);
}