Re: CNI and interface methods

David Daney <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Stephen Kell wrote:

> (whereas I'd been
> worried that maybe some multiple-inheritance-style pointer adjustment
> was not being done and was causing the segfaults I was seeing). 
> 

GCJ doesn't use C++ style multiple inheritance to implement interfaces. 
  The initialization of the interface dispatch tables is done at runtime 
by some somewhat trick code.

Actually I am surprised that you can call interface methods from CNI. 
You learn something new everyday.

David Daney
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.