public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "bonniot at users dot sf dot net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/20169] Serialization: readResolve does not work
Date: Mon, 28 Feb 2005 13:08:00 -0000	[thread overview]
Message-ID: <20050226013505.13725.qmail@sourceware.org> (raw)
In-Reply-To: <20050223152937.20169.bonniot@users.sf.net>


------- 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


  parent reply	other threads:[~2005-02-26  1:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-23 16:06 [Bug java/20169] New: " bonniot at users dot sf dot net
2005-02-23 16:38 ` [Bug libgcj/20169] " pinskia at gcc dot gnu dot org
2005-02-28 13:08 ` bonniot at users dot sf dot net [this message]
2005-03-03  2:51 ` bonniot at users dot sf dot net
2005-05-27  1:04 ` pinskia at gcc dot gnu dot org
2005-05-27  9:47 ` bonniot at users dot sf dot net
2005-05-27 15:05 ` bonniot at users dot sf dot net
2005-06-01 20:01 ` tromey at gcc dot gnu dot org
2005-07-24 19:36 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050226013505.13725.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).