harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
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 GMT
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. <code>getDefault()</code>

+ * and <code>getTimeZone(String)</code>, 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
  */



Mime
View raw message