harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r1001490 - /harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/TimeZone.java
Date Sun, 26 Sep 2010 18:39:37 GMT
Author: tellison
Date: Sun Sep 26 18:39:37 2010
New Revision: 1001490

URL: http://svn.apache.org/viewvc?rev=1001490&view=rev
Log:
Touch Locale class during TimeZone initialization to get ICU loading sequence right.
See detailed discussion in thread http://markmail.org/message/6ckxylyonj3dyk5a

Modified:
    harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/TimeZone.java

Modified: harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/TimeZone.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/TimeZone.java?rev=1001490&r1=1001489&r2=1001490&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/TimeZone.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/TimeZone.java
Sun Sep 26 18:39:37 2010
@@ -74,6 +74,11 @@ import org.apache.harmony.luni.util.Priv
 public abstract class TimeZone implements Serializable, Cloneable {
     private static final long serialVersionUID = 3581463369166924961L;
 
+    static {
+        // Force ICU initialization ordering via Locale loading.
+        Locale dummy = Locale.US;
+    }
+
     /**
      * The SHORT display name style.
      */



Mime
View raw message