Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0D7F10CCA for ; Tue, 11 Feb 2014 16:25:32 +0000 (UTC) Received: (qmail 43600 invoked by uid 500); 11 Feb 2014 16:25:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 43397 invoked by uid 500); 11 Feb 2014 16:25:22 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 43238 invoked by uid 99); 11 Feb 2014 16:25:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 16:25:21 +0000 Date: Tue, 11 Feb 2014 16:25:21 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-969) StringUtils.toEncodedString(byte[], Charset) needlessly throws UnsupportedEncodingException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897981#comment-13897981 ] Sebb commented on LANG-969: --------------------------- The changes.xml doc has a description section. > 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)