< prev index next >

src/java.base/share/classes/java/text/DateFormatSymbols.java

Print this page

        

*** 288,297 **** --- 288,298 ---- * @serial */ Locale locale = null; /* use serialVersionUID from JDK 1.1.4 for interoperability */ + @java.io.Serial static final long serialVersionUID = -5987973545549424702L; /** * Returns an array of all locales for which the * <code>getInstance</code> methods of this class can return
*** 890,899 **** --- 891,901 ---- * <code>zoneStrings</code> field is initialized in order to make * sure the backward compatibility. * * @since 1.6 */ + @java.io.Serial private void writeObject(ObjectOutputStream stream) throws IOException { if (zoneStrings == null) { zoneStrings = TimeZoneNameUtility.getZoneStrings(locale); } stream.defaultWriteObject();
< prev index next >