On Tue, 2005-07-05 at 10:41 -0600, Tom Tromey wrote:
> >>>>> "Mark" == Mark Wielaard <[EMAIL PROTECTED]> writes:
> Suppose you have a hierarchy like:
>
> class A { blah blah readResolve() }
> class B extends A { }
> class C extends B { }
>
> You compile all of these.
> Then you go back and add 'private ... readResolve()' to B.How precisely would you go back? > Should C now really be using A's readResolve()? No, it should use B's readResolve(). And it will since the caching is done at runtime. Or am I missing a way to dynamically add the new method during runtime to an already loaded Class by a ClassLoader? Cheers, Mark
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
