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 23B231032C for ; Sat, 1 Mar 2014 12:43:26 +0000 (UTC) Received: (qmail 10138 invoked by uid 500); 1 Mar 2014 12:43:21 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 9983 invoked by uid 500); 1 Mar 2014 12:43:20 -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 9960 invoked by uid 99); 1 Mar 2014 12:43:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Mar 2014 12:43:19 +0000 Date: Sat, 1 Mar 2014 12:43:19 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (LANG-978) Failing tests with Java 8 b128 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-978?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D139170= 50#comment-13917050 ]=20 Sebb edited comment on LANG-978 at 3/1/14 12:42 PM: ---------------------------------------------------- Suggested patch to skip ParseError for early Japanese dates I think this is better than skipping the test entirely, as it works OK at p= resent on earlier versions of Java. was (Author: sebb@apache.org): Suggested patch to skip ParseError for early Japanese dates > Failing tests with Java 8 b128 > ------------------------------ > > Key: LANG-978 > URL: https://issues.apache.org/jira/browse/LANG-978 > Project: Commons Lang > Issue Type: Bug > Affects Versions: 3.3 > Reporter: Benedikt Ritter > Fix For: Patch Needed > > Attachments: LANG-978.patch > > > Gary Gregory has reported failing tests during the vote for Lang 3.3 RC1,= when building with: > {code} > java version "1.8.0" > Java(TM) SE Runtime Environment (build 1.8.0-b128) > Java HotSpot(TM) 64-Bit Server VM (build 25.0-b69, mixed mode) > Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; > 2014-02-14T12:37:52-05:00) > Maven home: C:\Java\apache-maven-3.2.1\bin\.. > Java version: 1.8.0, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" > {code} > {code} > FastDateFormat_ParserTest>FastDateParserTest.testParses:242->FastDatePars= erTest.validateSdfFormatFdpParseEquality:219 =C2=BB Parse FastDateParserTes= t.testParses:242->validateSdfFormatFdpParseEquality:219 =C2=BB Parse > Running org.apache.commons.lang3.time.FastDateFormat_ParserTest /1/2/10/5= /??/0/0/?/+0000 ja_JP_JP_#u-ca-japanese 1867 G/y/M/d/h/a/m/s/E/Z America/Ne= w_York Tests run: 29, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.4= 91 sec <<< FAILURE! - in org.apache.commons.lang3.time.FastDateFormat_Parse= rTest testParses(org.apache.commons.lang3.time.FastDateFormat_ParserTest) T= ime elapsed: 1.492 sec <<< ERROR! java.text.ParseException: (The ja_JP_JP_#= u-ca-japanese locale does not support dates before 1868 AD) > {code} > See: http://markmail.org/message/suvorq3xrqmimnui -- This message was sent by Atlassian JIRA (v6.1.5#6160)