db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-957) Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue
Date Thu, 19 Apr 2007 19:58:15 GMT

     [ https://issues.apache.org/jira/browse/DERBY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Matrigali updated DERBY-957:
---------------------------------

    Affects Version/s: 10.3.0.0

A separate bug for the following failure was marked duplicate of this bug.  I am adding this
info so hopefully searching the database on the junit failure will show up this bug.  This
problem is causing regression test failures in 10.3 also so adding that to the affected list:
This is failing on trunk, sun 1.6:
http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/w2003/530080-suitesAll_diff.txt
1) statementJdbc20(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure:
Output at line 3 expected:<... parameter value '-1[,]000' for Statement.s...> but was:<...
parameter value '-1[?]000' for Statement.s...>
	at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
	at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:90)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)

Also on trunk, sun jdk1.5:
http://dbtg.thresher.com/derby/test/Daily/jvm1.5/testing/Limited/testSummary-530080.html
) statementJdbc20(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure:
Output at line 3 expected:<... parameter value '-1[,]000' for Statement.s...> but was:<...
parameter value '-1[?]000' for Statement.s...>
	at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
	at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:90)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)

Also trunk , sun jdk1.4 
1) statementJdbc20(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure:
Output at line 3 expected:<... parameter value '-1[,]000' for Statement.s...> but was:<...
parameter value '-1[?]000' for Statement.s...>
	at org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
	at org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:90)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)


> Long passed into an exception gets displayed using locale specific formatting. i18n/locale
issue
> ------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-957
>                 URL: https://issues.apache.org/jira/browse/DERBY-957
>             Project: Derby
>          Issue Type: Test
>          Components: Regression Test Failure
>    Affects Versions: 10.2.1.6, 10.3.0.0
>         Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2),
JVM: Sun Microsystems Inc. 1.5.0_04
>            Reporter: Ole Solberg
>            Priority: Minor
>
> Diff:
> ********* Diff file derbyall/jdbc20/statementJdbc20.diff
> *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 ***
> 3 del
> < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int
rows).
> 3a3
> > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int
rows).
> 5 del
> < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int
direction).
> 5a5
> > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int
direction).
> 18 del
> < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int
rows).
> 18a18
> > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int
rows).
> Test Failed.
> *** End:   statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 ***
> http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt
> Duplicate in DERBY-987

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message