<i18n dev> [14] RFR: 8232860: Error formatting integer values with MessageFormat.format() using HOST provider
naoto.sato at oracle.com
naoto.sato at oracle.com
Tue Nov 12 17:10:14 UTC 2019
Hi,
Please review the fix to the following issue:
https://bugs.openjdk.java.net/browse/JDK-8232860
The proposed changeset is located at:
https://cr.openjdk.java.net/~naoto/8232860/webrev.00/
Although this was reported for German locale, it is reproducible on any
locale. The root cause of this issue was that the Host adapter for
Windows returned the number pattern for number/integer instances, which
always require fraction digits, i.e., '0'. Changing it to optional '#'
will solve the issue.
Also, I modified the integer formatters to allow only integer processing
(used to allow fractions as well).
Naoto
More information about the i18n-dev
mailing list