db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dag.wan...@oracle.com (Dag H. Wanvik)
Subject Re: [jira] [Commented] (DERBY-5217) make ImportExportIJTest pass in non-English locale
Date Mon, 30 May 2011 20:49:16 GMT
"Bryan Pendleton (JIRA)" <jira@apache.org> writes:

> This appears to happen because the ContextManager class has remembered the message locale
> in its 'messageLocale' variable, which was set very early in the test to the default
initial locale (Chinese)
> when the auto-loaded driver needed to lookup messages during initial bootup.
>
> I see that the ContextManager class has a method "setMessageLocale()" that appears to
be
> designed to allow higher levels of the system to reset the message locale.
>
> But I searched the code tree and I can't find any code that calls this method.
>
> I am wondering if we need to change LocaleTestSetup.setUp() so that it calls ContextManager.setMessageLocale(),
> and whether that would help the test.

I wonder if this (dynamic locale) is something user apps would ever want
to do, and if so, this should available with a public API method (system
procedure)?

Thanks,

Dag

Mime
View raw message