[Bug libgcj/20169] Serialization: readResolve does not work
bonniot at users dot sf dot net
gcc-bugzilla@gcc.gnu.org
Mon Feb 28 13:08:00 GMT 2005
------- Additional Comments From bonniot at users dot sf dot net 2005-02-26 01:35 -------
After some investigation, I think I understand what is going wrong. It seems
like readResolve is only called if it is declared in the deserialized object's
class. However, it should also be searched for in the classes's parents,
provided the method there is visible (that is, normal rules apply).
I submitted a related testcase to mauve:
http://sources.redhat.com/ml/mauve-patches/2005/msg00032.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20169
More information about the Java-prs
mailing list