Re: String class is final: SerializationContextImpl.java

2002-04-08 Thread Russell Butek
D] 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(javaTy

String class is final: SerializationContextImpl.java

2002-04-07 Thread Richard Emberson
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