[RFA] Step & Breakpoint co-located events

Tom Tromey tromey@redhat.com
Tue May 15 20:19:00 GMT 2007


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> The attached patch "fixes" the multiple co-located events
Keith> problems at a location.

There's a small bug in here...

Keith> +  _event_list = new ::java::util::ArrayList ();
 
Keith> +      JArray<Event *> *events
Keith> +	= (JArray<Event *> *) VMVirtualMachine::_event_list->toArray ();

toArray always returns an Object[].
If you want an Event[] you have to use the toArray(Object[]) form.

Tom



More information about the Java-patches mailing list