hg: jdk/sandbox: 8196399: Formatting a decimal using locale-specific grouping separators causes ArithmeticException (division by zero).; ...
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Thu Mar 22 07:45:23 UTC 2018
Changeset: cf9e3c8607b7
Author: nishjain
Date: 2018-03-22 12:59 +0530
URL: http://hg.openjdk.java.net/jdk/sandbox/rev/cf9e3c8607b7
8196399: Formatting a decimal using locale-specific grouping separators causes ArithmeticException (division by zero).
8199672: ClassCastException is thrown by java.util.Formatter when an NumberFormatProvider SPI is used.
Reviewed-by: naoto
! src/java.base/share/classes/java/util/Formatter.java
+ test/jdk/java/util/Formatter/NoGroupingUsed.java
+ test/jdk/java/util/Formatter/spi/FormatterWithProvider.java
+ test/jdk/java/util/Formatter/spi/provider/module-info.java
+ test/jdk/java/util/Formatter/spi/provider/test/NumberFormatProviderImpl.java
More information about the jdk-sandbox-changes
mailing list