You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2014/02/07 23:19:20 UTC

[jira] [Updated] (LANG-969) StringUtils.toEncodedString(byte[], Charset) needlessly throws exception

     [ https://issues.apache.org/jira/browse/LANG-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Gregory updated LANG-969:
------------------------------

    Fix Version/s: 4.0

> StringUtils.toEncodedString(byte[], Charset) needlessly throws exception
> ------------------------------------------------------------------------
>
>                 Key: LANG-969
>                 URL: https://issues.apache.org/jira/browse/LANG-969
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.2.1
>         Environment: Any
>            Reporter: Matt Bishop
>            Priority: Minor
>             Fix For: 4.0
>
>
> This new method throws UnsupportedEncodingException when passed in a Charset object. Why?
> new String(byte[], Charset) does not throw this exception.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)