public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "thebohemian at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/17021] libgcj verifier resolves classes too eagerly
Date: Fri, 21 Oct 2005 16:13:00 -0000	[thread overview]
Message-ID: <20051021161340.24222.qmail@sourceware.org> (raw)
In-Reply-To: <bug-17021-6651@http.gcc.gnu.org/bugzilla/>



------- Comment #12 from thebohemian at gmx dot net  2005-10-21 16:13 -------
Tromey suggested to not transform all Utf8Const object into a canonical form so
I fixed the invokevirtual problem in the first way.

I introduced a new method _Jv_equalUt8Const_classnames method which reliably
compares classnames of different formats and finds out whether they denote the
same Java class.

However before I could test the new code I found out that gcj failed to load a
certain "[java.lang.String". This was introduced by the new to_array code which
assumed that classnames where given in the "Lp1/p2/cn;" format. Unfortunately
this is not the case and I had to make that code aware of that fact.

I attach the final patch which fixes
a) the problems mentioned in this bug
b) the problems with array instantiations
c) the problem that return type checking always provoked class resolution

Please review.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17021


  parent reply	other threads:[~2005-10-21 16:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-17021-6651@http.gcc.gnu.org/bugzilla/>
2005-10-16  0:44 ` thebohemian at gmx dot net
2005-10-18  0:18 ` thebohemian at gmx dot net
2005-10-18  0:19 ` thebohemian at gmx dot net
2005-10-18 16:38 ` thebohemian at gmx dot net
2005-10-18 16:40 ` thebohemian at gmx dot net
2005-10-18 17:01 ` thebohemian at gmx dot net
2005-10-18 17:09 ` thebohemian at gmx dot net
2005-10-19 16:14 ` thebohemian at gmx dot net
2005-10-21 16:13 ` thebohemian at gmx dot net [this message]
2005-10-21 16:15 ` thebohemian at gmx dot net
2005-10-25 20:36 ` mckinlay at redhat dot com
2005-10-30 19:14 ` thebohemian at gmx dot net
2006-02-21 10:37 ` thebohemian at gmx dot net

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=20051021161340.24222.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).