hessian-lite/src/main/java/com/alibaba/com/caucho/hessian/io/FieldDeserializer2FactoryUnsafe.java [641:654]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static boolean isPrimitive(Type type) {
        try {
            if (type != null) {
                if (type instanceof Class<?>) {
                    Class<?> clazz = (Class<?>) type;
                    return clazz.isPrimitive()
                            || PRIMITIVE_TYPE.containsKey(clazz.getName());
                }
            }
        } catch (Exception e) {
            // ignore exception
        }
        return false;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hessian-lite/src/main/java/com/alibaba/com/caucho/hessian/io/FieldDeserializer2Factory.java [565:578]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static boolean isPrimitive(Type type) {
        try {
            if (type != null) {
                if (type instanceof Class<?>) {
                    Class<?> clazz = (Class<?>) type;
                    return clazz.isPrimitive()
                            || PRIMITIVE_TYPE.containsKey(clazz.getName());
                }
            }
        } catch (Exception e) {
            // ignore exception
        }
        return false;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



