Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 46208 invoked from network); 8 Nov 2007 05:52:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 05:52:01 -0000 Received: (qmail 13265 invoked by uid 500); 8 Nov 2007 05:51:48 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 13246 invoked by uid 500); 8 Nov 2007 05:51:48 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 13236 invoked by uid 99); 8 Nov 2007 05:51:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 21:51:48 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 05:52:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0A0E71A9832; Wed, 7 Nov 2007 21:51:40 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r593024 - /harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java Date: Thu, 08 Nov 2007 05:51:39 -0000 To: commits@harmony.apache.org From: tonywu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071108055140.0A0E71A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tonywu Date: Wed Nov 7 21:51:37 2007 New Revision: 593024 URL: http://svn.apache.org/viewvc?rev=593024&view=rev Log: Fix a bug that SimpleDateFormat.parse does not reload the latest timezone Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java?rev=593024&r1=593023&r2=593024&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java (original) +++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/SimpleDateFormat.java Wed Nov 7 21:51:37 2007 @@ -403,6 +403,8 @@ */ @Override public Date parse(String string, ParsePosition position) { + icuFormat.setTimeZone(com.ibm.icu.util.TimeZone.getTimeZone(calendar + .getTimeZone().getID())); return icuFormat.parse(string,position); }