diff a/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialRef.java b/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialRef.java --- a/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialRef.java +++ b/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialRef.java @@ -223,10 +223,15 @@ } /** * readObject is called to restore the state of the SerialRef from * a stream. + * @param s the {@code ObjectInputStream} to read from. + * + * @throws ClassNotFoundException if the class of a serialized object + * could not be found. + * @throws IOException if an I/O error occurs. */ private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { ObjectInputStream.GetField fields = s.readFields(); object = fields.get("object", null); @@ -235,10 +240,12 @@ } /** * writeObject is called to save the state of the SerialRef * to a stream. + * @param s the {@code ObjectOutputStream} to write to. + + @throws IOException if I/O errors occur. */ private void writeObject(ObjectOutputStream s) throws IOException { ObjectOutputStream.PutField fields = s.putFields();