This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
RE: quick little CNI question
- To: 'Tom Tromey' <tromey at cygnus dot com>
- Subject: RE: quick little CNI question
- From: Glenn Chambers <GChambers at provsol dot com>
- Date: Thu, 20 Jan 2000 12:31:35 -0500
- Cc: java-discuss at sourceware dot cygnus dot com
> If you don't mind having your code potentially break (because you'll
> be relying on libgcj internals), you can also follow the code sequence
> the compiler uses: call _Jv_LookupInterfaceMethod and treat the result
> as a function pointer.
Has anyone looked at whether the new C++ ABI that is being put together
will remove the need for any sort of lookup?
I seem to recall that one of the recent patches said something about
pure virtual bases not requiring thunks anymore, which IIRC was the
problem with treating
<java>class x extends y implements z { }</java>
as
<c++>class x : public y, public z { }</c++>
(as I understand it, the new C++ ABI would use
'class x: public y, public virtual z').