equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
161 /** |
161 /** |
162 * True if the object has been modified after its instantiation. |
162 * True if the object has been modified after its instantiation. |
163 */ |
163 */ |
164 private transient boolean dirty = false; |
164 private transient boolean dirty = false; |
165 |
165 |
|
166 @java.io.Serial |
166 private static final long serialVersionUID = 2653134537216586139L; |
167 private static final long serialVersionUID = 2653134537216586139L; |
167 |
168 |
168 /** |
169 /** |
169 * A constructor. |
170 * A constructor. |
170 */ |
171 */ |
724 */ |
725 */ |
725 public static Map<String, String> getAliasTable() { |
726 public static Map<String, String> getAliasTable() { |
726 return ZoneInfoFile.getAliasMap(); |
727 return ZoneInfoFile.getAliasMap(); |
727 } |
728 } |
728 |
729 |
|
730 @java.io.Serial |
729 private void readObject(ObjectInputStream stream) |
731 private void readObject(ObjectInputStream stream) |
730 throws IOException, ClassNotFoundException { |
732 throws IOException, ClassNotFoundException { |
731 stream.defaultReadObject(); |
733 stream.defaultReadObject(); |
732 // We don't know how this object from 1.4.x or earlier has |
734 // We don't know how this object from 1.4.x or earlier has |
733 // been mutated. So it should always be marked as `dirty'. |
735 // been mutated. So it should always be marked as `dirty'. |