This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA] Step & Breakpoint co-located events
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: Tue, 15 May 2007 14:00:30 -0600
- Subject: Re: [RFA] Step & Breakpoint co-located events
- References: <463FCE4C.3070006@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "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