[cp-patches] RFC: New events for JDWP and small changes to Event internals

Kyle Galloway kgallowa at redhat.com
Fri Jun 9 14:22:04 UTC 2006


This patch adds a new event to JDWP (correct to the spec this time  :-) 
) as well as changing from *.class for to defined constants to use with 
the getParameter() method inside the *Event classes.  This is to fix an 
issue with the new ExceptionEvent since the old method of calling 
getParameter would not allow filtering by caught/uncaught exceptions.  
My thanks to anyone who reviews and commits.

-Kyle

ChangeLog:

2006-06-09   Kyle Galloway   <kgallowa at redhat.com>

    * gnu/classpath/jdwp/event/BreakpointEvent.java: Added Object
    _instance for filter compatibility
    * gnu/classpath/jdwp/event/BreakpointEvent.java(getParameter):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java(getParameter):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/Event.java: Added constants for
    type and changed the abstract method getParameters to match
    * gnu/classpath/jdwp/event/ThreadEndEvent.java(getParameter):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/ThreadStartEvent.java(getParameter):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/VmDeathEvent.java(getParameter):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/VmInitEvent.java(getParameter):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/ClassMatchFilter.java(matches):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/ClassOnlyFilter.java(matches):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/InstanceOnlyFilter.java(matches):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/ThreadOnlyFilter.java(matches):
    changed from Class type to constants
    * gnu/classpath/jdwp/event/ExceptionEvent.java: New file


-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdwp-events.patch
Type: text/x-patch
Size: 15387 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060609/d10bc4a0/jdwp-events.bin


More information about the Classpath-patches mailing list