[
https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474198
]
Paul Golick commented on TUSCANY-1122:
--------------------------------------
The testTuscany_836 method of TypeConversionTestCase.java fails when run by the
IBM 1.4.2 JRE or by the Sun 1.4.2 JRE but works when run by either IBM or Sun
version 5 JREs: the reason is that in the Java 1.4.2 libraries BigDecimal does
not preserve the value of Long.MAX_VALUE or nearby values but change these
values to Long.MIN_VALUE. This is a Java problem and occurs in the most recent
releases of 1.4.2 from both Sun and IBM.
> TypeConversionTestCase fails for JDK 1.4.2
> ------------------------------------------
>
> Key: TUSCANY-1122
> URL: https://issues.apache.org/jira/browse/TUSCANY-1122
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-Mx
> Environment: IBM JDK 1.4.2 build cn1420-20040626 on Windows
> also observed on a 1.4.2 linux build
> svn revision level = 509212
> Reporter: Kelvin Goodson
>
> Just discovered this, not having build with 1.4.2 for a while.
> junit.framework.AssertionFailedError : expected:<-9223372036854775808> but
> was:<9223372036854775807>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals (Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:136)
> at junit.framework.Assert.assertEquals(Assert.java:142)
> at
> org.apache.tuscany.sdo.test.TypeConversionTestCase.testTuscany_836(TypeConversionTestCase.java
> :887)
> at
> org.apache.tuscany.sdo.test.TypeConversionTestCase.testTuscany_836(TypeConversionTestCase.java:887)
> This looks similar to the closed JIRA TUSCANY-712
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]