Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] FileListBlock remove un-necessary exception throw/catch


Alain -

Can you please apply this patch and Thomas' 'WordEntry out of bounds exception patch' to both branch and head.

Thanks,
Bogdan

cdt-patch-admin@xxxxxxxxxxx wrote on 02/02/2004 10:18:40 AM:

> >
> > Folks,
> >
> >   This is a simple patch that takes a look at the bounds of an array
> > and returns the valid, but empty, value instead of explicitly throwing
> > an exception, catching it and then returning a valid but empty value.
> > This has a minor impact on performance and a huge impact on being
> > able to track down real exception errors since we aren't throwing/catching
> > spurious exceptions anymore.
> >
> > (I'm on webmail so I've included and attached the patch since I don't
> > have a lot of faith in the web =;-)
> >
> > ChangeLog
> > - Remove assumed throw/catch of an exception to be a regular occurance
> >   and replace with explicit test and return for bounds access to the
> >   particular array.
> >
>
>
> Bogdan,
>    This is your territory, can you take a quicklook if this
> should be apply to head && branch.
>
> Thanks.
>
>
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch

Back to the top