equal
deleted
inserted
replaced
850 * |
850 * |
851 * @throws InvalidObjectException if {@code char} and {@code String} |
851 * @throws InvalidObjectException if {@code char} and {@code String} |
852 * representations of either percent, per mille, and/or minus sign disagree. |
852 * representations of either percent, per mille, and/or minus sign disagree. |
853 * @since 1.1.6 |
853 * @since 1.1.6 |
854 */ |
854 */ |
|
855 @java.io.Serial |
855 private void readObject(ObjectInputStream stream) |
856 private void readObject(ObjectInputStream stream) |
856 throws IOException, ClassNotFoundException { |
857 throws IOException, ClassNotFoundException { |
857 stream.defaultReadObject(); |
858 stream.defaultReadObject(); |
858 if (serialVersionOnStream < 1) { |
859 if (serialVersionOnStream < 1) { |
859 // Didn't have monetarySeparator or exponential field; |
860 // Didn't have monetarySeparator or exponential field; |
1065 // currency; only the ISO code is serialized. |
1066 // currency; only the ISO code is serialized. |
1066 private transient Currency currency; |
1067 private transient Currency currency; |
1067 private transient volatile boolean currencyInitialized; |
1068 private transient volatile boolean currencyInitialized; |
1068 |
1069 |
1069 // Proclaim JDK 1.1 FCS compatibility |
1070 // Proclaim JDK 1.1 FCS compatibility |
|
1071 @java.io.Serial |
1070 static final long serialVersionUID = 5772796243397350300L; |
1072 static final long serialVersionUID = 5772796243397350300L; |
1071 |
1073 |
1072 // The internal serial version which says which version was written |
1074 // The internal serial version which says which version was written |
1073 // - 0 (default) for version up to JDK 1.1.5 |
1075 // - 0 (default) for version up to JDK 1.1.5 |
1074 // - 1 for version from JDK 1.1.6, which includes two new fields: |
1076 // - 1 for version from JDK 1.1.6, which includes two new fields: |