--- old/src/java.base/share/classes/java/util/Date.java 2019-08-27 17:28:52.870324386 -0700 +++ new/src/java.base/share/classes/java/util/Date.java 2019-08-27 17:28:52.690324386 -0700 @@ -154,6 +154,7 @@ * interoperability with JDK1.1. The Date was modified to write * and read only the UTC time. */ + @java.io.Serial private static final long serialVersionUID = 7523967970034938905L; /** @@ -1318,6 +1319,7 @@ * is emitted (long). This represents the offset from * January 1, 1970, 00:00:00 GMT in milliseconds. */ + @java.io.Serial private void writeObject(ObjectOutputStream s) throws IOException { @@ -1328,6 +1330,7 @@ /** * Reconstitute this object from a stream (i.e., deserialize it). */ + @java.io.Serial private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {