classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cp-patches] Re: Serialization: readResolve and writeReplace inparen


From: Jeroen Frijters
Subject: RE: [cp-patches] Re: Serialization: readResolve and writeReplace inparent class
Date: Fri, 8 Jul 2005 13:18:44 +0200

Daniel Bonniot wrote:
> > Your patch broke the Mauve 
> gnu.testlet.java.io.Serializable.readResolve
> > test.
> 
> What VM do you get this failure with? I tried again with 
> jamvm and classpath with my patch (and without yours) and all 
> java.io.Serializable tests pass (0/5 failures).

I used my own VM (IKVM.NET).

> > If the readResolve method is in the current class and it is
> > private it is no longer found.
> 
> I explicitely handled that case.

Yeah, I noticed that after I posted my message. Sorry about that.

> But looking at your patch, 
> it looks like it's a security question. This means either jamvm
> or the VM you used has a bug, which should be reported.

I'm fairly confident that IKVM.NET does the right thing. My guess is
that JamVM incorrectly allows calls to private methods.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]