You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/02/19 15:34:05 UTC

[jira] Created: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by kelvin goodson <ke...@gmail.com>.
Ant,
   good suggestion, thanks, I'll add a note to the JIRA.
Kelvin.


On 08/06/07, ant elder <an...@apache.org> wrote:
>
> Could the testcase be coded to skip the test for JDK levels known not to
> work? Something along the lines as was done for this sca testcase:
>
>
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/extension/SimpleTypeMapperExtensionTestCase.java?view=diff&r1=542408&r2=542409&pathrev=542409
>
>    ...ant
>
> On 6/8/07, Kelvin Goodson (JIRA) <tu...@ws.apache.org> wrote:
> >
> >
> >     [
> >
> https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502735
> ]
> >
> > Kelvin Goodson commented on TUSCANY-1122:
> > -----------------------------------------
> >
> > I propose we add a comment to the test case code,  add an FAQ to the
> > website and close this JIRA.
> >
> > > 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-M2, Java-SDO-beta1
> > >         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
> > >             Fix For: Java-SDO-Next
> > >
> > >
> > > 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: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>

Re: [jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by ant elder <an...@apache.org>.
Could the testcase be coded to skip the test for JDK levels known not to
work? Something along the lines as was done for this sca testcase:

http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/extension/SimpleTypeMapperExtensionTestCase.java?view=diff&r1=542408&r2=542409&pathrev=542409

   ...ant

On 6/8/07, Kelvin Goodson (JIRA) <tu...@ws.apache.org> wrote:
>
>
>     [
> https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502735]
>
> Kelvin Goodson commented on TUSCANY-1122:
> -----------------------------------------
>
> I propose we add a comment to the test case code,  add an FAQ to the
> website and close this JIRA.
>
> > 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-M2, Java-SDO-beta1
> >         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
> >             Fix For: Java-SDO-Next
> >
> >
> > 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: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Chris Mildebrandt (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495739 ] 

Chris Mildebrandt commented on TUSCANY-1122:
--------------------------------------------

IBM JDK 1.4.2 sr8 fails as well:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142-20070317 (SR8) (JIT enabled: jitc))

> 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-M2, Java-SDO-beta1
>         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
>             Fix For: Java-SDO-Mx
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1122:
------------------------------------

        Fix Version/s: Java-SDO-Mx
    Affects Version/s:     (was: Java-SDO-Mx)
                       Java-SDO-M3
                       Java-SDO-M2

> 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-M2, Java-SDO-M3
>         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
>             Fix For: Java-SDO-Mx
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476601 ] 

Kelvin Goodson commented on TUSCANY-1122:
-----------------------------------------

Paul,
  are you aware of any workarounds that we could put in place while we still support 1.4?


> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson resolved TUSCANY-1122.
-------------------------------------

    Resolution: Fixed

fix avoids executing the code that demonstrates the JDK bug

> 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-M2, Java-SDO-beta1
>         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
>             Fix For: Java-SDO-1.0
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502735 ] 

Kelvin Goodson commented on TUSCANY-1122:
-----------------------------------------

I propose we add a comment to the test case code,  add an FAQ to the website and close this JIRA.

> 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-M2, Java-SDO-beta1
>         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
>             Fix For: Java-SDO-Next
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502747 ] 

Kelvin Goodson commented on TUSCANY-1122:
-----------------------------------------

A suggestion came from ant on tuscany-dev mailing-list that we parallel this fix
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/databinding/src/test/java/org/apache/tuscany/sca/databinding/extension/SimpleTypeMapperExtensionTestCase.java?view=diff&r1=542408&r2=542409&pathrev=542409


> 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-M2, Java-SDO-beta1
>         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
>             Fix For: Java-SDO-Next
>
>
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474202 ] 

Paul Golick commented on TUSCANY-1122:
--------------------------------------

I should have noted the Java JDK builds that I used:

Sun 1.4.2: 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)

IBM 1.4.2:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM Windows 32 build cn142-20061124 (SR7) (JIT enabled: jitc))

Sun 1.5:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b02)
Java HotSpot(TM) Client VM (build 1.5.0_10-b02, mixed mode, sharing)

IBM 1.5:
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20061001 (JIT enabled)
J9VM - 20060915_08260_lHdSMR
JIT  - 20060908_1811_r8
GC   - 20060906_AA)
JCL  - 20061002

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1122:
------------------------------------


sorry,  previous comment should have said "while we still support 1.4.2"

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477085 ] 

Paul Golick commented on TUSCANY-1122:
--------------------------------------

There were several BigDecimal bug fixes listed in the release notes for 1.5.0_08.  The links to the bug database no longer work but the release notes say the BigDecimal implementation inappropriately rounded some values.
To test 1.4.2 compilation, I use a patch to comment out the body of the testTuscany_836 method of TypeConversionTestCase.java.

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1122) TypeConversionTestCase fails for JDK 1.4.2

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474187 ] 

Kelvin Goodson commented on TUSCANY-1122:
-----------------------------------------

Forgot to mention that this would seem to be a regression of TUSCANY-836 

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org