harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r570057 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/ObjectInputStream.java
Date Mon, 27 Aug 2007 09:54:48 GMT
Author: pyang
Date: Mon Aug 27 02:54:48 2007
New Revision: 570057

URL: http://svn.apache.org/viewvc?rev=570057&view=rev
Log:
Fix HARMONY-4664([luni] ObjectInputStream inSamePackage bug)

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

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/ObjectInputStream.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/ObjectInputStream.java?rev=570057&r1=570056&r2=570057&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/ObjectInputStream.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/io/ObjectInputStream.java
Mon Aug 27 02:54:48 2007
@@ -476,7 +476,7 @@
         String nameC2 = c2.getName();
         int indexDotC1 = nameC1.lastIndexOf('.');
         int indexDotC2 = nameC2.lastIndexOf('.');
-        if (indexDotC1 != indexDotC1) {
+        if (indexDotC1 != indexDotC2) {
             return false; // cannot be in the same package if indices are not
         }
         // the same



Mime
View raw message