[jira] [Commented] (IO-253) Test Failures using IBM JDK

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (IO-253) Test Failures using IBM JDK

ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/IO-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117039#comment-13117039 ]

Joerg Schaible commented on IO-253:
-----------------------------------

Just for the record. The current IBM JDK 6 (1.6.0.9 Linux/x64) has improved, but still fails for UTF-16 only. UTF-16LE and UTF16-BE is handled properly. It might be that UTF-16 defaults here to UTF-16LE although Javadoc specifies UTF-16BE in this case (see Javadoc java.nio.Charset).

{noformat}
testUTF16WithSingleByteWrite(org.apache.commons.io.output.WriterOutputStreamTest):
expected:<[à peine arrivés nous entrâmes dans sa chambre]> but was:<[＀瀀攀椀渀 攀 愀爀爀椀瘀猀 渀漀甀猀 攀渀琀爀洀攀猀 搀愀渀猀 猀愀 挀栀愀洀戀爀]>
{noformat}
               

> Test Failures using IBM JDK
> ---------------------------
>
>                 Key: IO-253
>                 URL: https://issues.apache.org/jira/browse/IO-253
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Priority: Minor
>
> Jörg Schaible reports the following test failures in RC5 of Commons IO 2.0
>     * http://markmail.org/message/eoo5bk6n3pfsvfwk
> "IBM JDK 1.5 does not like the OOME handling in the FileCleanerTestCase and FileCleanerTrackingTestCase, while IBM JDK 1.6 has problems with the WriterOutputStream handling UTF16."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira