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 7FDDA109E8 for ; Fri, 10 Jan 2014 11:13:33 +0000 (UTC) Received: (qmail 52675 invoked by uid 500); 10 Jan 2014 11:13:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 52559 invoked by uid 500); 10 Jan 2014 11:12:58 -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 52433 invoked by uid 99); 10 Jan 2014 11:12:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 11:12:53 +0000 Date: Fri, 10 Jan 2014 11:12:53 +0000 (UTC) From: =?utf-8?Q?Nicol=C3=B2_Chieffo_=28JIRA=29?= To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-948) Exception while using ExtendedMessageFormat and escaping braces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-948?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Nicol=C3=B2 Chieffo updated LANG-948: -------------------------------- Attachment: TestExtendedMessageFormat2.java another similar test case with the same exception > Exception while using ExtendedMessageFormat and escaping braces > --------------------------------------------------------------- > > Key: LANG-948 > URL: https://issues.apache.org/jira/browse/LANG-948 > Project: Commons Lang > Issue Type: Bug > Components: lang.text.* > Affects Versions: 3.2, 3.2.1 > Reporter: Nicol=C3=B2 Chieffo > Attachments: TestExtendedMessageFormat.java, TestExtendedMessageF= ormat2.java > > > Exception while trying to format a string containing escaped braces > Exception in thread "main" java.lang.IllegalArgumentException: Invalid fo= rmat argument index at position 7: } > =09at org.apache.commons.lang3.text.ExtendedMessageFormat.readArgumentInd= ex(ExtendedMessageFormat.java:357) > =09at org.apache.commons.lang3.text.ExtendedMessageFormat.applyPattern(Ex= tendedMessageFormat.java:167) > =09at org.apache.commons.lang3.text.ExtendedMessageFormat.(Extended= MessageFormat.java:128) > =09at org.apache.commons.lang3.text.ExtendedMessageFormat.(Extended= MessageFormat.java:113) > =09at test.TestExtendedMessageFormat.main(TestExtendedMessageFormat.java:= 16) > I will attach a source -- This message was sent by Atlassian JIRA (v6.1.5#6160)