src/java.base/share/classes/java/util/SimpleTimeZone.java
changeset 57956 e0b8b019d2f5
parent 53563 a4b7ea85d668
child 58242 94bb65cb37d3
--- 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 <code>DOW_IN_MONTH_MODE</code>, 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
     {