--- old/src/java.base/share/classes/java/time/temporal/WeekFields.java 2019-08-27 17:28:46.086324386 -0700 +++ new/src/java.base/share/classes/java/time/temporal/WeekFields.java 2019-08-27 17:28:45.918324386 -0700 @@ -242,6 +242,7 @@ /** * Serialization version. */ + @java.io.Serial private static final long serialVersionUID = -1177360819670808121L; /** @@ -362,6 +363,7 @@ * value for firstDayOfWeek or minimalDays. * @throws ClassNotFoundException if a class cannot be resolved */ + @java.io.Serial private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, InvalidObjectException { @@ -382,6 +384,7 @@ * @throws InvalidObjectException if the serialized object has invalid * values for firstDayOfWeek or minimalDays. */ + @java.io.Serial private Object readResolve() throws InvalidObjectException { try { return WeekFields.of(firstDayOfWeek, minimalDays);