classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [RFA/JDWP] ClassTypeCommandSet


From: Aaron Luchko
Subject: [cp-patches] [RFA/JDWP] ClassTypeCommandSet
Date: Wed, 03 Aug 2005 15:38:51 -0400

This will implement the ClassTypeCommandSet
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdwp/jdwp-protocol.html#JDWP_ClassType

The two tricky parts with this patch are 
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdwp/jdwp-protocol.html#JDWP_ClassType_InvokeMethod
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdwp/jdwp-protocol.html#JDWP_ClassType_NewInstance

They're essentially exactly the same command except NewInstance returns
an ObjectId instead of a value.

Also since they return both an Object and any Exception that may be
thrown I need a class to wrap around this value, MethodResult.java.

thanks,
Aaron

ChangeLog
2005-08-03  Aaron Luchko  <address@hidden>
        *gnu/classpath/jdwp/processor/ClassTypeCommandSet.java:
        Implemented the ClassType CommandSet.
        *gnu/classpath/jdwp/util/MethodResult.java: Class to wrap
        around results of method executions.

Attachment: jdwpClassTypeMethodResult.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]