This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/20169] Serialization: readResolve does not work
- From: "bonniot at users dot sf dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2005 01:35:05 -0000
- Subject: [Bug libgcj/20169] Serialization: readResolve does not work
- References: <20050223152937.20169.bonniot@users.sf.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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