<i18n dev>  RFR: 8245241: Incorrect locale provider preference is not logged
huizhe.wang at oracle.com
Wed May 20 23:10:13 UTC 2020
I don't seem to see the DateFormat class or the getDateInstance methods
specify how errors may be handled (or logged). Is that stated somewhere
else? In other cases, I see that you've changed it to throw
ServiceConfigurationError, that looks to me may be better than a log as
a configuration error (or specifying wrong provider) sounds to me more
severe than info.
Of the three HostLocaleProviderAdapterImpl, the one for unix is deleted,
is there a specific reason?
On 5/20/2020 10:29 AM, naoto.sato at oracle.com wrote:
> Please review the fix to the following issue:
> The proposed changeset is located at:
> Incorrect user-provided provider preference is supposed to be logged.
> However it is not so because it is using
> PlatformLogger(SurrogateLogger) which uses the default logging level.
> I changed it to use j.l.System's logger and bumped it to INFO level
> (it should notify the user by default). By taking this opportunity, I
> did some clean-up in locale provider adapter's logging related code as
More information about the i18n-dev