java.text.NumberFormat#getNumberInstance(Locale) looks for a resource named "numberFormat" and defaults to "#,##0.###" if the resource is not located. java.text.NumberFormat#getIntegerInstance(Locale) also looks for a resource named "numberFormat" but defaults to "#,##0" if the resource is not located. The resource names should be different for these two cases, in case someone wants to actually include resources for them for a locale.
Subject: Bug 27563 CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Tom Tromey <tromey@savannah.gnu.org> 06/05/16 18:00:49 Modified files: java/text : NumberFormat.java . : ChangeLog Log message: PR classpath/27563: * java/text/NumberFormat.java (getIntegerInstance): Use "integerFormat", not "numberFormat". CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/text/NumberFormat.java.diff?tr1=1.18&tr2=1.19&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7447&tr2=1.7448&r1=text&r2=text
Fix checked in.