Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 43903 invoked from network); 13 Mar 2006 10:38:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Mar 2006 10:38:41 -0000 Received: (qmail 9550 invoked by uid 500); 13 Mar 2006 10:38:40 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 9510 invoked by uid 500); 13 Mar 2006 10:38:39 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 9499 invoked by uid 99); 13 Mar 2006 10:38:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 02:38:39 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Mar 2006 02:38:39 -0800 Received: (qmail 43751 invoked by uid 65534); 13 Mar 2006 10:38:18 -0000 Message-ID: <20060313103818.43745.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385498 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/TimeZone.java Date: Mon, 13 Mar 2006 10:38:17 -0000 To: harmony-commits@incubator.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: tellison Date: Mon Mar 13 02:38:16 2006 New Revision: 385498 URL: http://svn.apache.org/viewcvs?rev=385498&view=rev Log: Apply patch for HARMONY-184 (java.util.TimeZone's default implementation may cause many classes' serialization non-compatible with RI) Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/TimeZone.java Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/TimeZone.java URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/TimeZone.java?rev=385498&r1=385497&r2=385498&view=diff ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/TimeZone.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/TimeZone.java Mon Mar 13 02:38:16 2006 @@ -27,6 +27,13 @@ * daylight savings time rules. Subclasses support a particular calendar type, * such as the gregorian calendar. * + * Please note the type returned by factory methods, i.e. getDefault() + * and getTimeZone(String), is implementation dependent, so that + * it may introduce serialization incompatibility issue between different implementations. + * Harmony returns instance of {@link SimpleTimeZone SimpleTimeZone} so that the + * bytes serialized by Harmony can be deserialized on other implementation successfully, + * but the reverse compatibility cannot be guaranteed. + * * @see GregorianCalendar * @see SimpleTimeZone */