harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r998822 - /harmony/enhanced/java/trunk/classlib/modules/nio_char/src/main/java/java/nio/charset/Charset.java
Date Mon, 20 Sep 2010 08:10:07 GMT
Author: regisxu
Date: Mon Sep 20 08:10:07 2010
New Revision: 998822

URL: http://svn.apache.org/viewvc?rev=998822&view=rev
Log:
Apply fix for HARMONY-6651: Broken double checked locking in DragSourceContext.java

Modified:
    harmony/enhanced/java/trunk/classlib/modules/nio_char/src/main/java/java/nio/charset/Charset.java

Modified: harmony/enhanced/java/trunk/classlib/modules/nio_char/src/main/java/java/nio/charset/Charset.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/nio_char/src/main/java/java/nio/charset/Charset.java?rev=998822&r1=998821&r2=998822&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/nio_char/src/main/java/java/nio/charset/Charset.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/nio_char/src/main/java/java/nio/charset/Charset.java
Mon Sep 20 08:10:07 2010
@@ -96,7 +96,7 @@ public abstract class Charset implements
     private static CharsetProviderImpl _builtInProvider = null;
 
     // cached built in charsets
-    private static TreeMap<String, Charset> _builtInCharsets = null;
+    private static volatile TreeMap<String, Charset> _builtInCharsets = null;
 
     private final String canonicalName;
 



Mime
View raw message