PR libgcj/25265: Throw NoSuchMethodError for missing methods
Tom Tromey
tromey@redhat.com
Wed Dec 7 01:23:00 GMT 2005
>>>>> "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
More information about the Java-patches
mailing list