This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PR libgcj/25265: Throw NoSuchMethodError for missing methods
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 06 Dec 2005 18:17:12 -0700
- Subject: Re: PR libgcj/25265: Throw NoSuchMethodError for missing methods
- References: <17301.56409.953013.113962@zapata.pink>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> This adds a new method to every class that is invoked when we try to
Andrew> invoke a nonexistent method. I've made it package private, which I
Andrew> think is right: opinions welcomed.
I think it is the only choice, as private methods won't end up in the
vtable.
Andrew> Note that this is a binary *in*compatible change that requires apps to
Andrew> be recompiled. We've just bumped libgcj.so to libgcj.so.7, so
Andrew> everything has to be recompiled anyway, so IMO that's OK.
Yeah. This is fine before 4.1 ships. At some point we need to bump
svn trunk to .8. I'm sure we're going to have to break compatibility
again.
Andrew> ! Utf8Const* sig = _Jv_makeUtf8Const ("()V", strlen ("()V"));
This is 'gcj::void_signature'.
Otherwise this seems reasonable to me.
Tom