ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/Vector.java
(Generate patch)

Comparing jsr166/src/main/java/util/Vector.java (file contents):
Revision 1.55 by jsr166, Wed May 22 17:36:58 2019 UTC vs.
Revision 1.56 by jsr166, Fri Aug 30 18:05:39 2019 UTC

# Line 124 | Line 124 | public class Vector<E>
124      protected int capacityIncrement;
125  
126      /** use serialVersionUID from JDK 1.0.2 for interoperability */
127 +    // OPENJDK @java.io.Serial
128      private static final long serialVersionUID = -2767605614048989439L;
129  
130      /**
# Line 1157 | Line 1158 | public class Vector<E>
1158       * @throws ClassNotFoundException if the stream contains data
1159       *         of a non-existing class
1160       */
1161 +    // OPENJDK @java.io.Serial
1162      private void readObject(ObjectInputStream in)
1163              throws IOException, ClassNotFoundException {
1164          ObjectInputStream.GetField gfields = in.readFields();
# Line 1178 | Line 1180 | public class Vector<E>
1180       * @param s the stream
1181       * @throws java.io.IOException if an I/O error occurs
1182       */
1183 +    // OPENJDK @java.io.Serial
1184      private void writeObject(java.io.ObjectOutputStream s)
1185              throws java.io.IOException {
1186          final java.io.ObjectOutputStream.PutField fields = s.putFields();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines