--- old/src/java.base/share/classes/java/time/chrono/ThaiBuddhistChronology.java 2019-08-27 17:28:43.278324386 -0700 +++ new/src/java.base/share/classes/java/time/chrono/ThaiBuddhistChronology.java 2019-08-27 17:28:43.086324386 -0700 @@ -116,6 +116,7 @@ /** * Serialization version. */ + @java.io.Serial private static final long serialVersionUID = 2775954514031616474L; /** * Containing the offset to add to the ISO year. @@ -384,6 +385,7 @@ * @return the instance of {@code Ser}, not null */ @Override + @java.io.Serial Object writeReplace() { return super.writeReplace(); } @@ -394,6 +396,7 @@ * @param s the stream to read * @throws InvalidObjectException always */ + @java.io.Serial private void readObject(ObjectInputStream s) throws InvalidObjectException { throw new InvalidObjectException("Deserialization via serialization delegate"); }