Hi,
I've committed the attached patch which fixes a small omission in the
recent VMMethod update that I committed. We weren't outputting the
number of methods we were reporting.
Keith
ChangeLog
2006-03-13 Keith Seitz <[EMAIL PROTECTED]>
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
(executeMethods): Output number of methods.
Index: gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
===================================================================
RCS file: /sources/classpath/classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java,v
retrieving revision 1.6
diff -u -p -r1.6 ReferenceTypeCommandSet.java
--- gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java 10 Mar 2006 00:14:05 -0000 1.6
+++ gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java 14 Mar 2006 03:49:31 -0000
@@ -187,6 +187,7 @@ public class ReferenceTypeCommandSet
Class clazz = refId.getType();
VMMethod[] methods = VMVirtualMachine.getAllClassMethods(clazz);
+ os.writeInt (methods.length);
for (int i = 0; i < methods.length; i++)
{
VMMethod method = methods[i];