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