commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Bishop (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-969) StringUtils.toEncodedString(byte[], Charset) needlessly throws exception
Date Fri, 07 Feb 2014 22:03:20 GMT
Matt Bishop created LANG-969:
--------------------------------

             Summary: 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


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)

Mime
View raw message