db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-323) Locale problem in test of derby
Date Wed, 12 Jul 2006 12:08:30 GMT
    [ http://issues.apache.org/jira/browse/DERBY-323?page=comments#action_12420598 ] 

Knut Anders Hatlen commented on DERBY-323:

The DERBY-1352 fix didn't completely fix this issue. When I ran derbyall with Japanese locale,
the nist tests and some tests that execute a java process failed. I think I have a fix for
this in my sandbox. I am currently running derbyall to verify that it actually fixes the issue.

> Locale problem in test of derby
> -------------------------------
>          Key: DERBY-323
>          URL: http://issues.apache.org/jira/browse/DERBY-323
>      Project: Derby
>         Type: Bug

>   Components: Test
>  Environment: Japanese localed Windows using cygwiin
>     Reporter: Tomohito Nakayama

> Many of derbyall fails at Japanese localed Windows when environment corresponding derbyLocale_JP.jar
exists in CLASSPATH.
> Almost all of derby_all was failed because all result message was generated in 
> Japanese , and that was different from master file.
> I tried next configuration ...
> conf_0:Exclude derbyLocale_jp.jar
> conf_1:Add option "-Duser.language=en -Duser.country=US"
> conf_2:Add option "-Djvmflags=-Duser.language=en -Duser.country=US"
> conf_3:Defiine environment variable _JAVA_OPTIONS=:-Duser.language=en -Duser.locale=us
> conf_4:Defiine environment variable LC_CTYPE:en_US
> conf_0 works well on derbyall suite but some of derbynetclientmats/derbynetmats in derbyall
suite was failed. Network module seems to have localed message in other resource.
> conf_1 works on derbynetclientsmats suite, but same configuration for derbyall suite
does not work at all.
> conf_2 does not work on derbynetclientsmats suite.
> conf_3 seems to work for locale problem but  "Picked up _JAVA_OPTIONS:" message cause
error in test.
> conf_4 does not works ...
> Now conf_0 seems to be reasonable method now.
> I think conf_3 may be reasonable direction to modify test suite. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message