Patch: Remove exception catching from normal path in Arrays.equals.

Tom Tromey tromey@redhat.com
Fri Sep 5 21:51:00 GMT 2003


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



More information about the Java-patches mailing list