8208060: Additional corrections of serial-related declarations

Reviewed-by: rriggs, lancea
This commit is contained in:
Joe Darcy 2018-07-20 14:46:43 -07:00
parent 9959e34180
commit 07cb147927
9 changed files with 8 additions and 11 deletions

View file

@ -629,7 +629,7 @@ public class SerialArray implements Array, Serializable, Cloneable {
* to a stream.
*/
private void writeObject(ObjectOutputStream s)
throws IOException, ClassNotFoundException {
throws IOException {
ObjectOutputStream.PutField fields = s.putFields();
fields.put("elements", elements);

View file

@ -570,7 +570,7 @@ public class SerialBlob implements Blob, Serializable, Cloneable {
* to a stream.
*/
private void writeObject(ObjectOutputStream s)
throws IOException, ClassNotFoundException {
throws IOException {
ObjectOutputStream.PutField fields = s.putFields();
fields.put("buf", buf);

View file

@ -237,7 +237,7 @@ public class SerialRef implements Ref, Serializable, Cloneable {
* to a stream.
*/
private void writeObject(ObjectOutputStream s)
throws IOException, ClassNotFoundException {
throws IOException {
ObjectOutputStream.PutField fields = s.putFields();
fields.put("baseTypeName", baseTypeName);

View file

@ -332,7 +332,7 @@ public class SerialStruct implements Struct, Serializable, Cloneable {
* to a stream.
*/
private void writeObject(ObjectOutputStream s)
throws IOException, ClassNotFoundException {
throws IOException {
ObjectOutputStream.PutField fields = s.putFields();
fields.put("attribs", attribs);