[cp-patches] Re: RFA JDWP MethodEntryEvent

Kyle Galloway kgallowa at redhat.com
Mon Jun 12 21:06:31 UTC 2006


Fixed that, wow must have been half asleep this morning......

-Kyle

Keith Seitz wrote:
> Kyle Galloway wrote:
>> +  /**
>> +   * Returns a specific filtering parameter for this event. Valid 
>> types are
>> +   * thread and location
>> +   * +   * @param type the type of parameter desired
>> +   * @returns the desired parameter or null
>> +   */
>> +  public Object getParameter(int type)
>> +  {
>> +    if (type == EVENT_THREAD)
>> +      return _thread;
>> +    else if (type == EVENT_LOCATION)
>> +      return _location;
>> +    else if (type == EVENT_INSTANCE)
>> +      return _instance;
>> +
>> +    return null;
>> +  }
>
> I think something is missing. Can't this event be filtered using the 
> Class*Filters? If so, EVENT_CLASS needs to be added to this...
>
> Keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: methodentryevent.patch
Type: text/x-patch
Size: 4134 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060612/edfc7b14/methodentryevent.bin


More information about the Classpath-patches mailing list