< prev index next >
src/java.base/share/classes/sun/util/calendar/ZoneInfo.java
Print this page
*** 161,170 ****
--- 161,171 ----
/**
* True if the object has been modified after its instantiation.
*/
private transient boolean dirty = false;
+ @java.io.Serial
private static final long serialVersionUID = 2653134537216586139L;
/**
* A constructor.
*/
*** 724,733 ****
--- 725,735 ----
*/
public static Map<String, String> getAliasTable() {
return ZoneInfoFile.getAliasMap();
}
+ @java.io.Serial
private void readObject(ObjectInputStream stream)
throws IOException, ClassNotFoundException {
stream.defaultReadObject();
// We don't know how this object from 1.4.x or earlier has
// been mutated. So it should always be marked as `dirty'.
< prev index next >