src/java.base/share/classes/java/text/ChoiceFormat.java
changeset 57956 e0b8b019d2f5
parent 54206 003cc64366da
child 58242 94bb65cb37d3
--- a/src/java.base/share/classes/java/text/ChoiceFormat.java	Thu Aug 29 18:52:30 2019 -0400
+++ b/src/java.base/share/classes/java/text/ChoiceFormat.java	Thu Aug 29 16:31:34 2019 -0700
@@ -168,6 +168,7 @@
 public class ChoiceFormat extends NumberFormat {
 
     // Proclaim serial compatibility with 1.1 FCS
+    @java.io.Serial
     private static final long serialVersionUID = 1795184449645032964L;
 
     /**
@@ -528,6 +529,7 @@
      * to maintain class invariants.
      * @throws InvalidObjectException if the objects read from the stream is invalid.
      */
+    @java.io.Serial
     private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
         in.defaultReadObject();
         if (choiceLimits.length != choiceFormats.length) {