This is the mail archive of the java@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: GCJ and C++ (calling Java from C++)


On Wednesday 30 November 2005 16:03, Andi Vajda wrote:
> On Wed, 30 Nov 2005, Lothar Werzinger wrote:
> > So the LibraryImpl class misses the inheritance to the interface Library,
> > the Library class misses the inheritance to the interface Addressable and
> > the Addressable class misses the inheritance to EObject
> >
> > Thus I have the following questions:
> >
> > 1)
> > Can this be the cause of the problems I have?
> >
> > 2)
> > Is there a way to fix/work around this problem?
>
> I've seen something similar caused by bug 15411. The workaround has been to
> manually declare the missing abstract methods in the java sources.
>
> Andi..

Thanks for the pointer.

It looks similar, however I'm not sure if it matches my case, as I don't have 
an abstract class, just interfaces and the LibraryImpl class implements the 
methods from the Library interface that I try to call.
Another obstacle is that the Java code actually is generated from the EMF 
generator so I don't know if I can add anything (and I still have no clue 
what I might add if I could :-) ).

> Andi..

Lothar
-- 
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc.
111 West St. John Street, Suite 200
San Jose, Ca 95113
email: lothar@tradescape.biz


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