Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86848 invoked from network); 1 Apr 2010 09:28:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 09:28:52 -0000 Received: (qmail 29569 invoked by uid 500); 1 Apr 2010 09:28:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29483 invoked by uid 500); 1 Apr 2010 09:28:49 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 29476 invoked by uid 99); 1 Apr 2010 09:28:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 09:28:49 +0000 X-ASF-Spam-Status: No, hits=-1192.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 09:28:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DBC17234C4B2 for ; Thu, 1 Apr 2010 09:28:27 +0000 (UTC) Message-ID: <1344993370.628651270114107894.JavaMail.jira@brutus.apache.org> Date: Thu, 1 Apr 2010 09:28:27 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4604) test lang.CollationTest.testSwedishCaseInsensitiveCollation fails with IBM's weme6.2/1.4.2. In-Reply-To: <12647062.618781270076428737.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852303#action_12852303 ] Knut Anders Hatlen commented on DERBY-4604: ------------------------------------------- Also seen in tests against Sun's 1.4.2 JVMs. I think it is caused by this bug (specific for Swedish locale in Java 1.3 and 1.4, fixed in 1.5): http://bugs.sun.com/view_bug.do?bug_id=4804273 I guess we could either disable the test case in 1.4 JVMs, or we could switch to another locale. > test lang.CollationTest.testSwedishCaseInsensitiveCollation fails with IBM's weme6.2/1.4.2. > ------------------------------------------------------------------------------------------- > > Key: DERBY-4604 > URL: https://issues.apache.org/jira/browse/DERBY-4604 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.6.0.0 > Environment: IBM's weme 6.2 (j2ME/CDC/Foundation1.1 profile) / IBM 1.4.2. > Reporter: Myrna van Lunteren > > The test testSwedishCaseInsensitiveCollation failed with IBM's weme 6.2 (this was during a test run with patch for DERBY-4602) and during a legacy run with IBM 1.4.2. > with weme6.2: > 1) testSwedishCaseInsensitiveCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)junit.framework.AssertionFailedError: Column value mismatch @ column 'ID', row 1: > Expected: >6< > Found: >4< > at java.lang.Throwable.(Throwable.java:67) > at junit.framework.AssertionFailedError.(AssertionFailedError.java:11) > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1129) > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1041) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:929) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:867) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:825) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.checkLangBasedQuery(CollationTest.java:1324) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.testSwedishCaseInsensitiveCollation(CollationTest.java:561) > at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > And - do we still support 1.4.2 jvms (?) - this also failed with IBMs 1.4.2: > 1) testSwedishCaseInsensitiveCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)junit.framework.AssertionFailedError: Column value mismatch @ column 'ID', row 1: > Expected: >6< > Found: >4< > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java(Compiled Code)) > at org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java(Inlined Compiled Code)) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java(Compiled Code)) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java(Inlined Compiled Code)) > at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java(Compiled Code)) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.checkLangBasedQuery(CollationTest.java:1324) > at org.apache.derbyTesting.functionTests.tests.lang.CollationTest.testSwedishCaseInsensitiveCollation(CollationTest.java:561) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.