Thanks.  I've made the change.  Given your suggestion I also found a couple
more that we could improve - Boolean.class and byte[].class.

Russell Butek
[EMAIL PROTECTED]


Richard Emberson <[EMAIL PROTECTED]>@phc.net on 04/07/2002 08:29:09 PM

Please respond to [EMAIL PROTECTED]

Sent by:    [EMAIL PROTECTED]


To:    [EMAIL PROTECTED]
cc:
Subject:    String class is final: SerializationContextImpl.java




The String class is final so that in the method:

    public boolean isPrimitive(Object value, Class javaType)

in the file:

        if (String.class.isAssignableFrom(javaType)) return true;


can be changed to:

    if (String.class == javaType) return true;


Richard



Reply via email to