diff -r 18863bf3501f -r e0b8b019d2f5 src/java.base/share/classes/java/util/SimpleTimeZone.java --- a/src/java.base/share/classes/java/util/SimpleTimeZone.java Thu Aug 29 18:52:30 2019 -0400 +++ b/src/java.base/share/classes/java/util/SimpleTimeZone.java Thu Aug 29 16:31:34 2019 -0700 @@ -1242,6 +1242,7 @@ public static final int UTC_TIME = 2; // Proclaim compatibility with 1.1 + @java.io.Serial static final long serialVersionUID = -403250971215465050L; // the internal serial version which says which version was written @@ -1636,6 +1637,7 @@ * mode DOW_IN_MONTH_MODE, which is the only mode recognized by * JDK 1.1. */ + @java.io.Serial private void writeObject(ObjectOutputStream stream) throws IOException { @@ -1666,6 +1668,7 @@ * We handle both JDK 1.1 * binary formats and full formats with a packed byte array. */ + @java.io.Serial private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {