commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-969) StringUtils.toEncodedString(byte[], Charset) needlessly throws UnsupportedEncodingException
Date Tue, 11 Feb 2014 16:07:20 GMT

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

Benedikt Ritter commented on LANG-969:
--------------------------------------

bq. I would say breaking source compatibility is OK, provided that this is clearly documented
in the release notes.

Do you have an idea where we can put a reminder to add this to the release notes? I'm afraid
that we forget this when we roll out the release.

> StringUtils.toEncodedString(byte[], Charset) needlessly throws UnsupportedEncodingException
> -------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Gary Gregory
>            Priority: Minor
>             Fix For: 3.3
>
>
> 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