mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8232860: Error formatting integer values with MessageFormat.format() using HOST provider
Reviewed-by: rriggs
This commit is contained in:
parent
de54eb1513
commit
9803a8dcb2
6 changed files with 69 additions and 5 deletions
|
@ -429,8 +429,9 @@ public class HostLocaleProviderAdapterImpl {
|
|||
|
||||
@Override
|
||||
public NumberFormat getIntegerInstance(Locale locale) {
|
||||
return new DecimalFormat(getNumberPattern(NF_INTEGER, locale),
|
||||
DecimalFormat format = new DecimalFormat(getNumberPattern(NF_INTEGER, locale),
|
||||
DecimalFormatSymbols.getInstance(locale));
|
||||
return HostLocaleProviderAdapter.makeIntegerFormatter(format);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue