src/java.base/share/classes/java/text/DecimalFormat.java
changeset 57956 e0b8b019d2f5
parent 54252 83deaa8f0c8e
child 58242 94bb65cb37d3
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
  3868      * {@code posPrefixPattern} etc.  As a result, they will be initialized
  3868      * {@code posPrefixPattern} etc.  As a result, they will be initialized
  3869      * to {@code null}, which means the affix strings will be taken as
  3869      * to {@code null}, which means the affix strings will be taken as
  3870      * literal values.  This is exactly what we want, since that corresponds to
  3870      * literal values.  This is exactly what we want, since that corresponds to
  3871      * the pre-version-2 behavior.
  3871      * the pre-version-2 behavior.
  3872      */
  3872      */
       
  3873     @java.io.Serial
  3873     private void readObject(ObjectInputStream stream)
  3874     private void readObject(ObjectInputStream stream)
  3874          throws IOException, ClassNotFoundException
  3875          throws IOException, ClassNotFoundException
  3875     {
  3876     {
  3876         stream.defaultReadObject();
  3877         stream.defaultReadObject();
  3877         digitList = new DigitList();
  3878         digitList = new DigitList();
  4341     // Upper limit on integer and fraction digits for BigDecimal and BigInteger
  4342     // Upper limit on integer and fraction digits for BigDecimal and BigInteger
  4342     static final int MAXIMUM_INTEGER_DIGITS  = Integer.MAX_VALUE;
  4343     static final int MAXIMUM_INTEGER_DIGITS  = Integer.MAX_VALUE;
  4343     static final int MAXIMUM_FRACTION_DIGITS = Integer.MAX_VALUE;
  4344     static final int MAXIMUM_FRACTION_DIGITS = Integer.MAX_VALUE;
  4344 
  4345 
  4345     // Proclaim JDK 1.1 serial compatibility.
  4346     // Proclaim JDK 1.1 serial compatibility.
       
  4347     @java.io.Serial
  4346     static final long serialVersionUID = 864413376551465018L;
  4348     static final long serialVersionUID = 864413376551465018L;
  4347 }
  4349 }