--- jsr166/src/main/java/util/ArrayList.java 2019/08/10 16:48:05 1.68 +++ jsr166/src/main/java/util/ArrayList.java 2019/08/30 18:05:39 1.69 @@ -109,6 +109,7 @@ import jdk.internal.util.ArraysSupport; public class ArrayList extends AbstractList implements List, RandomAccess, Cloneable, java.io.Serializable { + // OPENJDK @java.io.Serial private static final long serialVersionUID = 8683452581122892189L; /** @@ -855,6 +856,7 @@ public class ArrayList extends Abstra * instance is emitted (int), followed by all of its elements * (each an {@code Object}) in the proper order. */ + // OPENJDK @java.io.Serial private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException { // Write out element count, and any hidden stuff @@ -882,6 +884,7 @@ public class ArrayList extends Abstra * could not be found * @throws java.io.IOException if an I/O error occurs */ + // OPENJDK @java.io.Serial private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {