You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/30 08:23:50 UTC

DO NOT REPLY [Bug 30929] - Nestable.indexOfThrowable(Class) uses Class.equals() to match

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30929>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30929

Nestable.indexOfThrowable(Class)  uses Class.equals() to match

bayard@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From bayard@apache.org  2004-09-30 06:23 -------
This seems logical to me.

throwables[i].getClass().equals(type)   changed to
type.isAssignableFrom(throwables[i].getClass()) in ExceptionUtils and NestableDelegate.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org