So so sad.


On Tue, Jan 7, 2014 at 2:38 PM, Nathan Sweet <notifications@github.com>wrote:

> In src/com/esotericsoftware/kryo/serializers/ExternalizableSerializer.java:
>
> > +            throw new KryoException( e );
> > +        }
> > +    }
> > +
> > +    private JavaSerializer getJavaSerializer( Class<?> type ) {
> > +        if ( javaSerializer == null && isJavaSerializerRequired( type ) ) {
> > +            javaSerializer = new JavaSerializer();
> > +        }
> > +
> > +        return javaSerializer;
> > +    }
> > +
> > +    private boolean isJavaSerializerRequired( Class<?> type ) {
> > +        return this.checkForReplaceMethods &&
> > +            ( hasInheritableReplaceMethod( type, "writeReplace" )
> > +                || hasInheritableReplaceMethod( type, "readResolve" ) );
>
> That Java serialization doesn't use an interface is sad.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/EsotericSoftware/kryo/pull/167/files#r8709811>
> .
>