This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Step & Breakpoint co-located events


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]