tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Kolinko" <knst.koli...@gmail.com>
Subject Re: svn commit: r648605 - /tomcat/tc6.0.x/trunk/STATUS.txt
Date Thu, 17 Apr 2008 00:22:39 GMT
2008/4/16  <rjung@apache.org>:
>   * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=44766
>    Handle custom subtypes of java.lang.Number
>    http://svn.apache.org/viewvc?view=rev&revision=646106
>  -  +1: markt, remm
>  +  +1: markt, remm, rjung
>    -1:
>  +  rjung: Simply use: "return Number.class.isAssignableFrom(type);"
>  +         since all other conditions are special cases of this one.
>

IMHO, Rainer is wrong here. Those other conditions cannot be satisfied
with Number.class.isAssignableFrom(type).

E.g., the following call returns false, as I have tested with Java 1.6.0_05:
 Number.class.isAssignableFrom(Integer.TYPE)


Best regards,
K.Kolinko

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


Mime
View raw message