--- old/src/java.base/share/classes/java/text/AttributedCharacterIterator.java 2019-08-27 17:28:19.466324386 -0700 +++ new/src/java.base/share/classes/java/text/AttributedCharacterIterator.java 2019-08-27 17:28:19.258324386 -0700 @@ -153,6 +153,7 @@ * @throws InvalidObjectException if the object to resolve is not * an instance of {@code Attribute} */ + @java.io.Serial protected Object readResolve() throws InvalidObjectException { if (this.getClass() != Attribute.class) { throw new InvalidObjectException("subclass didn't correctly implement readResolve"); @@ -194,6 +195,7 @@ public static final Attribute INPUT_METHOD_SEGMENT = new Attribute("input_method_segment"); // make sure the serial version doesn't change between compiler versions + @java.io.Serial private static final long serialVersionUID = -9142742483513960612L; };