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 AD00210F4F for ; Sat, 4 Jan 2014 20:36:51 +0000 (UTC) Received: (qmail 97795 invoked by uid 500); 4 Jan 2014 20:36:50 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 97728 invoked by uid 500); 4 Jan 2014 20:36:50 -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 97719 invoked by uid 99); 4 Jan 2014 20:36:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Jan 2014 20:36:50 +0000 Date: Sat, 4 Jan 2014 20:36:50 +0000 (UTC) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-942) Test failure in FastDateParserTest and FastDateFormat_ParserTest when building with JDK8 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-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell updated LANG-942: ------------------------------- Fix Version/s: Patch Needed > Test failure in FastDateParserTest and FastDateFormat_ParserTest when building with JDK8 > ---------------------------------------------------------------------------------------- > > Key: LANG-942 > URL: https://issues.apache.org/jira/browse/LANG-942 > Project: Commons Lang > Issue Type: Sub-task > Components: lang.time.* > Affects Versions: 3.2 > Environment: JDK8 > Reporter: Benedikt Ritter > Fix For: 3.2.1, Patch Needed > > > The following failure is thrown when using JDK 8: > {code} > ------------------------------------------------------------------------------- > Test set: org.apache.commons.lang3.time.FastDateFormat_ParserTest > ------------------------------------------------------------------------------- > Tests run: 29, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.315 sec <<< FAILURE! - in org.apache.commons.lang3.time.FastDateFormat_ParserTest > testParseZone(org.apache.commons.lang3.time.FastDateFormat_ParserTest) Time elapsed: 0.005 sec <<< FAILURE! > java.lang.AssertionError: expected: but was: > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:144) > at org.apache.commons.lang3.time.FastDateParserTest.testParseZone(FastDateParserTest.java:119) > [...] > {code} > It is caused by the following assertion in FastDateParserTest (from which FastDateFormat_ParserTest inherits): > {code:java} > assertEquals(cal.getTime(), fdf.parse("2003-07-10T16:33:20.000 Eastern Daylight Time")); > {code} > {{FastDateParserTest}} fails with the same error. -- This message was sent by Atlassian JIRA (v6.1.5#6160)