db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-834) i18n/urlLocale.sql test fails on Windows XP
Date Thu, 23 Feb 2006 23:59:38 GMT
     [ http://issues.apache.org/jira/browse/DERBY-834?page=all ]

Myrna van Lunteren updated DERBY-834:

    Attachment: DERBY-834_2006_02_23.stat

I got no response to my previous suggestion (forcing user.language & user.country) and
I was not happy with that approach.

Instead, the current patch (DERBY-834_2006_02_23.*)  simply does not contain a hardcoded reference
to en_US.
It counts on the value of the actual encoding, coming out of java.util.Locale.getDefault(),
to be correct, and compares this with the string returned form org.apache.derby.iapi.db.Factory.getDatabaseOfConnection.getLocale,
in one call that only produces output if something is wrong.

> i18n/urlLocale.sql test fails on Windows XP
> -------------------------------------------
>          Key: DERBY-834
>          URL: http://issues.apache.org/jira/browse/DERBY-834
>      Project: Derby
>         Type: Bug
>   Components: Test
>  Environment: CYGWIN
> NT-5.2
> i686-unknown
> Sun JDK 1.5 VM
>     Reporter: David Van Couvering
>     Assignee: Myrna van Lunteren
>  Attachments: DERBY-834_2006_02_23.diff, DERBY-834_2006_02_23.stat
> See http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/370210-i18nTest_diff.txt
> This failure has been around since forever, I went all the way back to revision 295051
in October 2005 and it was there.
> I don't see this test on my platform (XP, JDK 1.4, en_US locale), maybe it's a Norwegian
thing :)

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