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 AC2FE10DDE for ; Fri, 3 Jan 2014 10:29:01 +0000 (UTC) Received: (qmail 24237 invoked by uid 500); 3 Jan 2014 10:28:52 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 24155 invoked by uid 500); 3 Jan 2014 10:28:51 -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 24019 invoked by uid 99); 3 Jan 2014 10:28:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 10:28:50 +0000 Date: Fri, 3 Jan 2014 10:28:50 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (LANG-941) Test failure in LocaleUtilsTest when building with JDK 8 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-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter resolved LANG-941. ---------------------------------- Resolution: Fixed Sending src/changes/changes.xml Sending src/main/java/org/apache/commons/lang3/LocaleUtils.java Sending src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java Transmitting file data ... Committed revision 1555043. > Test failure in LocaleUtilsTest when building with JDK 8 > -------------------------------------------------------- > > Key: LANG-941 > URL: https://issues.apache.org/jira/browse/LANG-941 > Project: Commons Lang > Issue Type: Sub-task > Components: lang.* > Affects Versions: 3.2 > Environment: JDK 8 > Reporter: Benedikt Ritter > Assignee: Benedikt Ritter > Fix For: 3.2.1 > > > Test failure in {{testParseAllLocales}}: > {code} > ------------------------------------------------------------------------------- > Test set: org.apache.commons.lang3.LocaleUtilsTest > ------------------------------------------------------------------------------- > Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.067 sec <<< FAILURE! - in org.apache.commons.lang3.LocaleUtilsTest > testParseAllLocales(org.apache.commons.lang3.LocaleUtilsTest) Time elapsed: 0.015 sec <<< ERROR! > java.lang.IllegalArgumentException: Invalid locale format: > at org.apache.commons.lang3.LocaleUtils.toLocale(LocaleUtils.java:98) > at org.apache.commons.lang3.LocaleUtilsTest.testParseAllLocales(LocaleUtilsTest.java:569) > {code} > The string passed to {{LocaleUtils.toLocale(String)}} appears to be empty. > Environment is: > {code} > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) > Maven home: /usr/local/Cellar/maven/3.1.1/libexec > Java version: 1.8.0-ea, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre > Default locale: de_DE, platform encoding: UTF-8 > OS name: "mac os x", version: "10.9.1", arch: "x86_64", family: "mac" > java version "1.8.0-ea" > Java(TM) SE Runtime Environment (build 1.8.0-ea-b116) > Java HotSpot(TM) 64-Bit Server VM (build 25.0-b58, mixed mode) > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)