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

David Daney ddaney@avtrex.com
Wed Sep 10 17:56:00 GMT 2003


Tom Tromey wrote:

>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.
>  
>
It appears that my "assignment process with the FSF is now complete".

David.



More information about the Java-patches mailing list