src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialStruct.java
changeset 51181 01b8120f867a
parent 47216 71c04702a3d5
child 54106 9a90236ab64c
equal deleted inserted replaced
51180:b7eb9cc56277 51181:01b8120f867a
   330     /**
   330     /**
   331      * writeObject is called to save the state of the {@code SerialStruct}
   331      * writeObject is called to save the state of the {@code SerialStruct}
   332      * to a stream.
   332      * to a stream.
   333      */
   333      */
   334     private void writeObject(ObjectOutputStream s)
   334     private void writeObject(ObjectOutputStream s)
   335             throws IOException, ClassNotFoundException {
   335             throws IOException {
   336 
   336 
   337         ObjectOutputStream.PutField fields = s.putFields();
   337         ObjectOutputStream.PutField fields = s.putFields();
   338         fields.put("attribs", attribs);
   338         fields.put("attribs", attribs);
   339         fields.put("SQLTypeName", SQLTypeName);
   339         fields.put("SQLTypeName", SQLTypeName);
   340         s.writeFields();
   340         s.writeFields();