harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r521983 - in /harmony/enhanced/jdktools/trunk/modules/jpda: make/exclude.common test/common/unit/org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java
Date Sat, 24 Mar 2007 05:55:59 GMT
Author: smishura
Date: Fri Mar 23 22:55:56 2007
New Revision: 521983

URL: http://svn.apache.org/viewvc?view=rev&rev=521983
Log:
Apply patch for HARMONY-3340:
([jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test
fails with "Invalid fieldsCount"

Modified:
    harmony/enhanced/jdktools/trunk/modules/jpda/make/exclude.common
    harmony/enhanced/jdktools/trunk/modules/jpda/test/common/unit/org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java

Modified: harmony/enhanced/jdktools/trunk/modules/jpda/make/exclude.common
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/make/exclude.common?view=diff&rev=521983&r1=521982&r2=521983
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/make/exclude.common (original)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/make/exclude.common Fri Mar 23 22:55:56 2007
@@ -11,8 +11,6 @@
 org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ClassPathsTest.java
 #3317
 org/apache/harmony/jpda/tests/jdwp/ReferenceType/GetValues003Test.java
-#3340
-org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java
 #3341
 org/apache/harmony/jpda/tests/jdwp/ThreadReference/StopTest.java
 #3472

Modified: harmony/enhanced/jdktools/trunk/modules/jpda/test/common/unit/org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/jpda/test/common/unit/org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java?view=diff&rev=521983&r1=521982&r2=521983
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/jpda/test/common/unit/org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java
(original)
+++ harmony/enhanced/jdktools/trunk/modules/jpda/test/common/unit/org/apache/harmony/jpda/tests/jdwp/ClassType/InvokeMethod002Test.java
Fri Mar 23 22:55:56 2007
@@ -186,8 +186,8 @@
         checkReplyPacket(reply, "ReferenceType::Fields command");
         
         int fieldsCount = reply.getNextValueAsInt();
-        assertTrue("Invalid fieldsCount=" + fieldsCount + ", must be > " + fieldValues.length
-                , fieldsCount > fieldValues.length);
+        assertTrue("Invalid fieldsCount=" + fieldsCount + ", must be >= " + fieldValues.length
+                , fieldsCount >= fieldValues.length);
 
         for (int i = 0; i < fieldsCount; i++) {
             long id = reply.getNextValueAsFieldID();



Mime
View raw message