Hi folks!

I'm a bit confused by the logic in the PCEnhancer and I'm not sure if this is a 
bug or not.

In PCEnhancer#addReadExternal line 4043 (hell, who created such fat file :)

Class sup = _meta.getDescribedType().getSuperclass();
        if (!parentDetachable && Externalizable.class.isAssignableFrom(sup)) {
            loadManagedInstance(code, false);
            code.aload().setParam(0);
            code.invokespecial().setMethod(sup, "readExternal",
                void.class, inargs);
        }

there is a check if the superclass implements Externalizable. But what if the 
subclass gets processed first? This is basically a random generator...  heh, 
random 'generator' even in a double sense ;)

any ideas?

LieGrue,
strub





      

Reply via email to