--- old/src/java.base/share/classes/java/util/Calendar.java 2019-08-27 17:28:50.066324386 -0700 +++ new/src/java.base/share/classes/java/util/Calendar.java 2019-08-27 17:28:49.898324386 -0700 @@ -1005,6 +1005,7 @@ private int serialVersionOnStream = currentSerialVersion; // Proclaim serialization compatibility with JDK 1.1 + @java.io.Serial static final long serialVersionUID = -1807547505821590642L; // Mask values for calendar fields @@ -3526,6 +3527,7 @@ * removed from the serialization stream; this will probably happen in the * near future. */ + @java.io.Serial private synchronized void writeObject(ObjectOutputStream stream) throws IOException { @@ -3580,6 +3582,7 @@ /** * Reconstitutes this object from a stream (i.e., deserialize it). */ + @java.io.Serial private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {