RFR (JAXP): 8016500 : Unlocalized warnigs.
Naoto Sato
naoto.sato at oracle.com
Thu Oct 17 22:34:44 UTC 2013
Hi Joe,
If the locale is used for selecting the language for the warning
messages, I'd recommend using Locale.getDefault(Locale.Category.DISPLAY)
instead.
Naoto
On 10/17/13 2:51 PM, huizhe wang wrote:
> Hi,
>
> This is a fix to use the existing localized messages on a warning. The
> fix is to fetch the localized messages instead of printing out
> hard-coded message in English. The locale is initialized in parser
> configuration by calling Locale.getDefault. The configuration.getLocale
> will reflect the default or that set by users.
>
> This change has been tested by the i18n team.
>
> webrevs:
> http://cr.openjdk.java.net/~joehw/jdk8/8016500/webrev/
>
> Thanks,
> Joe
More information about the core-libs-dev
mailing list