[cp-patches] RFA JDWP SingleStepEvent

Keith Seitz keiths at redhat.com
Mon Jun 12 20:09:04 UTC 2006


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 this is the same as Method*Events: EVENT_CLASS needs to be 
added. [Although I admit, it is silly. No one would ever do that.]

But, hey, I didn't write the spec. :-)

Keith



More information about the Classpath-patches mailing list