mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
This commit is contained in:
parent
9959e34180
commit
07cb147927
9 changed files with 8 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue