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 483D510EC6 for ; Sun, 12 Jan 2014 12:47:38 +0000 (UTC) Received: (qmail 71952 invoked by uid 500); 12 Jan 2014 12:45:50 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 71760 invoked by uid 500); 12 Jan 2014 12:45:29 -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 71562 invoked by uid 99); 12 Jan 2014 12:44:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jan 2014 12:44:50 +0000 Date: Sun, 12 Jan 2014 12:44:50 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-943) Test DurationFormatUtilsTest.testEdgeDuration fails in JDK 1.6, 1.7 and 1.8, BRST time zone 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-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated LANG-943: --------------------------------- Fix Version/s: 3.3 > Test DurationFormatUtilsTest.testEdgeDuration fails in JDK 1.6, 1.7 and 1.8, BRST time zone > ------------------------------------------------------------------------------------------- > > Key: LANG-943 > URL: https://issues.apache.org/jira/browse/LANG-943 > Project: Commons Lang > Issue Type: Bug > Affects Versions: 3.1, 3.2, 3.2.1 > Environment: Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 12:22:22-0300) > Maven home: /opt/java/apache-maven-3.1.1 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.11.0-14-generic", arch: "amd64", family: "unix" > JDK 1.6.0_27, JDK 1.7.0_25, JDK 1.7.0_25 > Reporter: Bruno P. Kinoshita > Labels: test-fail, timezone > Fix For: 3.3, Patch Needed > > > While helping testing LANG-942 with JDK1.8 I always got three tests failing, while others had 2. After @britter fixed the issues related to JDK1.8, I continue getting errors with JDK1.8. > I decided to vote for [lang] 3.2.1 and test the tag with JDK 1.8 and a few others. However, I'm getting errors with any JDK, 1.6, 1.7 and 1.8 (build 121). Always the same error: > Failed tests: > DurationFormatUtilsTest.testEdgeDurations:467->assertEqualDuration:562->assertEqualDuration:575 expected:<7[7]> but was:<7[6]> > I get the same error with JDK 1.6 and the tag 3.1 > Since the test is somewhat related to Time Zones (there are some Calendar's, TimeZone.getDefault(), etc), here's my locale and time zone: > kinow@chuva:~/java/apache/commons-lang-31$ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL= > kinow@chuva:~/java/apache/commons-lang-31$ date > Sun Jan 5 21:23:05 BRST 2014 -- This message was sent by Atlassian JIRA (v6.1.5#6160)