You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Jon Weygandt (JIRA)" <ji...@apache.org> on 2009/05/21 23:03:45 UTC

[jira] Created: (SHINDIG-1068) Some tests fail when building with IBM's JVM

Some tests fail when building with IBM's JVM
--------------------------------------------

                 Key: SHINDIG-1068
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1068
             Project: Shindig
          Issue Type: Bug
          Components: Java
    Affects Versions: trunk
         Environment: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223-20080710 (JIT enabled)
            Reporter: Jon Weygandt
             Fix For: trunk


Changes in attached patch file.

Changes due to HashMap entry order and field serialization order:
BeanXStreamConverterTest.java, BeanXStreamAtomConverterTest.java, BeanXmlConverterTest.java, TestModel.java, DefaultUrlGeneratorTest.java

Bug in Sanselan: SANSELAN-23 (Different than the Sun JVM OutOfMemory bug)
JPEGOptimizerTest.java

IBM's JVM still uses Xerces XML4J, Neko explicitly excluded the DOCTYPE tag
NekoParserAndSerializeTest.java, NekoParsersTest.java, CompactHtmlSerializerTest.java

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


[jira] Commented: (SHINDIG-1068) Some tests fail when building with IBM's JVM

Posted by "Jon Weygandt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717389#action_12717389 ] 

Jon Weygandt commented on SHINDIG-1068:
---------------------------------------

Paul,

Looked at the documentation for XmlUnit. It will probably be a good method to solve the problems for the HashMap. I'll give it a try and submit a revised patch.

> Some tests fail when building with IBM's JVM
> --------------------------------------------
>
>                 Key: SHINDIG-1068
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1068
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>         Environment: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223-20080710 (JIT enabled)
>            Reporter: Jon Weygandt
>             Fix For: trunk
>
>         Attachments: fix-IBMJVM-bug.patch
>
>
> Changes in attached patch file.
> Changes due to HashMap entry order and field serialization order:
> BeanXStreamConverterTest.java, BeanXStreamAtomConverterTest.java, BeanXmlConverterTest.java, TestModel.java, DefaultUrlGeneratorTest.java
> Bug in Sanselan: SANSELAN-23 (Different than the Sun JVM OutOfMemory bug)
> JPEGOptimizerTest.java
> IBM's JVM still uses Xerces XML4J, Neko explicitly excluded the DOCTYPE tag
> NekoParserAndSerializeTest.java, NekoParsersTest.java, CompactHtmlSerializerTest.java

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


[jira] Commented: (SHINDIG-1068) Some tests fail when building with IBM's JVM

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717350#action_12717350 ] 

Paul Lindner commented on SHINDIG-1068:
---------------------------------------

hmm, this fix is pretty specific to the ibm environment.  Is it possible that XmlUnit solves some of these problems in a cleaner way?

also, same goes for the URL param testing.  I think we just need to use a correct test that ignores ordering, again, 


> Some tests fail when building with IBM's JVM
> --------------------------------------------
>
>                 Key: SHINDIG-1068
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1068
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>         Environment: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223-20080710 (JIT enabled)
>            Reporter: Jon Weygandt
>             Fix For: trunk
>
>         Attachments: fix-IBMJVM-bug.patch
>
>
> Changes in attached patch file.
> Changes due to HashMap entry order and field serialization order:
> BeanXStreamConverterTest.java, BeanXStreamAtomConverterTest.java, BeanXmlConverterTest.java, TestModel.java, DefaultUrlGeneratorTest.java
> Bug in Sanselan: SANSELAN-23 (Different than the Sun JVM OutOfMemory bug)
> JPEGOptimizerTest.java
> IBM's JVM still uses Xerces XML4J, Neko explicitly excluded the DOCTYPE tag
> NekoParserAndSerializeTest.java, NekoParsersTest.java, CompactHtmlSerializerTest.java

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


[jira] Resolved: (SHINDIG-1068) Some tests fail when building with IBM's JVM

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-1068.
-----------------------------------

    Resolution: Fixed

patch applied.

Thanks!


> Some tests fail when building with IBM's JVM
> --------------------------------------------
>
>                 Key: SHINDIG-1068
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1068
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA1
>         Environment: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223-20080710 (JIT enabled)
>            Reporter: Jon Weygandt
>             Fix For: 1.1-BETA2
>
>         Attachments: fix-1068-bug-v2.patch, fix-IBMJVM-bug.patch
>
>
> Changes in attached patch file.
> Changes due to HashMap entry order and field serialization order:
> BeanXStreamConverterTest.java, BeanXStreamAtomConverterTest.java, BeanXmlConverterTest.java, TestModel.java, DefaultUrlGeneratorTest.java
> Bug in Sanselan: SANSELAN-23 (Different than the Sun JVM OutOfMemory bug)
> JPEGOptimizerTest.java
> IBM's JVM still uses Xerces XML4J, Neko explicitly excluded the DOCTYPE tag
> NekoParserAndSerializeTest.java, NekoParsersTest.java, CompactHtmlSerializerTest.java

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


[jira] Updated: (SHINDIG-1068) Some tests fail when building with IBM's JVM

Posted by "Jon Weygandt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Weygandt updated SHINDIG-1068:
----------------------------------

    Attachment: fix-1068-bug-v2.patch

This patch file now replaces the conditional test with the more robust XMLUnit comparison methods. It has been tested against Sun's 1.5 and 1.6, and IBM's 1.5 and 1.6 JVMs.

> Some tests fail when building with IBM's JVM
> --------------------------------------------
>
>                 Key: SHINDIG-1068
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1068
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA1
>         Environment: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223-20080710 (JIT enabled)
>            Reporter: Jon Weygandt
>             Fix For: 1.1-BETA1
>
>         Attachments: fix-1068-bug-v2.patch, fix-IBMJVM-bug.patch
>
>
> Changes in attached patch file.
> Changes due to HashMap entry order and field serialization order:
> BeanXStreamConverterTest.java, BeanXStreamAtomConverterTest.java, BeanXmlConverterTest.java, TestModel.java, DefaultUrlGeneratorTest.java
> Bug in Sanselan: SANSELAN-23 (Different than the Sun JVM OutOfMemory bug)
> JPEGOptimizerTest.java
> IBM's JVM still uses Xerces XML4J, Neko explicitly excluded the DOCTYPE tag
> NekoParserAndSerializeTest.java, NekoParsersTest.java, CompactHtmlSerializerTest.java

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


[jira] Updated: (SHINDIG-1068) Some tests fail when building with IBM's JVM

Posted by "Jon Weygandt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Weygandt updated SHINDIG-1068:
----------------------------------

    Attachment: fix-IBMJVM-bug.patch

Patch file for bug.

> Some tests fail when building with IBM's JVM
> --------------------------------------------
>
>                 Key: SHINDIG-1068
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1068
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: trunk
>         Environment: IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows Server 2003 x86-32 j9vmwi3223-20080710 (JIT enabled)
>            Reporter: Jon Weygandt
>             Fix For: trunk
>
>         Attachments: fix-IBMJVM-bug.patch
>
>
> Changes in attached patch file.
> Changes due to HashMap entry order and field serialization order:
> BeanXStreamConverterTest.java, BeanXStreamAtomConverterTest.java, BeanXmlConverterTest.java, TestModel.java, DefaultUrlGeneratorTest.java
> Bug in Sanselan: SANSELAN-23 (Different than the Sun JVM OutOfMemory bug)
> JPEGOptimizerTest.java
> IBM's JVM still uses Xerces XML4J, Neko explicitly excluded the DOCTYPE tag
> NekoParserAndSerializeTest.java, NekoParsersTest.java, CompactHtmlSerializerTest.java

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