harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r718327 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/FilterInputStream.java
Date Mon, 17 Nov 2008 19:03:32 GMT
Author: tellison
Date: Mon Nov 17 11:03:32 2008
New Revision: 718327

URL: http://svn.apache.org/viewvc?rev=718327&view=rev
Log:
Spec says the 'in' field is volatile.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/FilterInputStream.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/FilterInputStream.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/FilterInputStream.java?rev=718327&r1=718326&r2=718327&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/FilterInputStream.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/FilterInputStream.java
Mon Nov 17 11:03:32 2008
@@ -30,7 +30,7 @@
     /**
      * The target InputStream which is being filtered.
      */
-    protected InputStream in;
+    protected volatile InputStream in;
 
     /**
      * Constructs a new FilterInputStream on the InputStream <code>in</code>.



Mime
View raw message