This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR libgcj/25265: Throw NoSuchMethodError for missing methods


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]