have you looked at the code? Classes.isprimitive does not differentiate between int and Integer, while Class.isprimitive() does
-igor On 9/21/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Hi all, > > I just came across Classes#isPrimitive. Method Class#isPrimitive > exists from JDK 1.1. Can we use this method instead (so I'm proposing > to remove the one in Classes). Or was there a particular problem this > implementation solves? > > Eelco >