JDK 9 RFR of 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
brian.burkhalter at oracle.com
Tue Dec 23 23:27:14 UTC 2014
Please review at your convenience.
In java.util.Formatter.BigDecimalLayout.layout() trailing zeroes are erroneously appended when the unscaled value of the BigDecimal is zero and the scale is negative. Some other minor changes are included to make the logic in the method clearer.
More information about the core-libs-dev