Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 30C00200BEC for ; Thu, 29 Dec 2016 08:46:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2F7CE160B40; Thu, 29 Dec 2016 07:46:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C059160B15 for ; Thu, 29 Dec 2016 08:45:59 +0100 (CET) Received: (qmail 21736 invoked by uid 500); 29 Dec 2016 07:45: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 21716 invoked by uid 99); 29 Dec 2016 07:45:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2016 07:45:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90B5C2C1F56 for ; Thu, 29 Dec 2016 07:45:58 +0000 (UTC) Date: Thu, 29 Dec 2016 07:45:58 +0000 (UTC) From: "Nathanael Yang (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-1305) FastDateFormat in 3.5 failed test of 3.3.2 while parsing 2014-12-15T19:50:00-05:00 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Dec 2016 07:46:00 -0000 [ https://issues.apache.org/jira/browse/LANG-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathanael Yang updated LANG-1305: --------------------------------- Component/s: (was: lang.text.*) lang.time.* > FastDateFormat in 3.5 failed test of 3.3.2 while parsing 2014-12-15T19:50:00-05:00 > ---------------------------------------------------------------------------------- > > Key: LANG-1305 > URL: https://issues.apache.org/jira/browse/LANG-1305 > Project: Commons Lang > Issue Type: Bug > Components: lang.time.* > Affects Versions: 3.5 > Environment: Windows7, JDK1.8U112 > Reporter: Nathanael Yang > Priority: Critical > > FastDateFormat.getInstance("yyyy-MM-dd'T'HH:mm:ssZ", TimeZone.getTimeZone("GMT-05:00")).parse("2014-12-15T19:50:00-05:00"); > This will work on 3.3.2, however, when I upgraded to 3.5 it failed like this: > Exception in thread "main" java.text.ParseException: Unparseable date: 2014-12-15T19:50:00-05:00 > This made me suprized and I have to carefully check my unit tests to see whether upgrade to 3.5 is reliable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)