This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Remove exception catching from normal path in Arrays.equals.
- From: Tom Tromey <tromey at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 05 Sep 2003 13:09:14 -0600
- Subject: Re: Patch: Remove exception catching from normal path in Arrays.equals.
- References: <3F58DE72.8060003@avtrex.com>
- Reply-to: tromey at redhat dot com
>>>>> "David" == David Daney <ddaney@avtrex.com> writes:
David> Currently all variants of java.util.Arrays.equals() catch
David> NullPointerExceptions to detect null valued parameters. In one
David> of our programs this is a fairly common case and the
David> throw/catch overhead was significant.
This has bugged me too -- thanks. This can go in once your paperwork
clears... I gather that shouldn't be long now.
Tom