You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Joerg Schaible (JIRA)" <ji...@apache.org> on 2007/02/09 22:11:05 UTC
[jira] Closed: (LANG-319) CharEncodingTest fails in IBM JDK 1.4.2
[ https://issues.apache.org/jira/browse/LANG-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joerg Schaible closed LANG-319.
-------------------------------
Resolution: Won't Fix
Fix Version/s: 2.3
This is a JDK bug and we cannot catch the thrown exception, since it is only available in JDK 1.4+.
> CharEncodingTest fails in IBM JDK 1.4.2
> ---------------------------------------
>
> Key: LANG-319
> URL: https://issues.apache.org/jira/browse/LANG-319
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Gentoo Linux, IBM JDK 1.4.2_5
> Reporter: Joerg Schaible
> Assigned To: Joerg Schaible
> Priority: Minor
> Fix For: 2.3
>
>
> The test CharEncodingTest.testNotSupported tests with invalid character encodings. According the JDK docu of String(byte[], String) the JDK should throw in this case an java.lang.UnsupportedCharacterEncoding exception, but the IBM JDK 1.4.2 throws java.nio.charset.IllegalCharsetNameException. This is not an issue with IBM JDK 1.5.0_3 anymore.
--
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org