This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: undefined reference to vtable
On Wed August 11, 2004 09h51, Andrew Haley wrote:
> Shaun Jackman writes:
> > I was hoping to show that it's possible to use a shared library
> > implemented in Java from an entirely C++ program. This is very nearly
> > true. From what I see though, you cannot implement a new Java class
> > entirely in C++, which is necessary for example to create a small
> > callback (Listener) class. I'd like to make a feature request for the
> > ability to write Java classes entirely in C++.
> >
> > For those interested, following this e-mail is a short HelloWorld
> > application that uses SWT (a Java GUI library) writen in 99% C++.
>
> If it works, where's the problem?
>
> Andrew.
I was hoping to package a Java library (SWT incidentally) such that
C++ developers could use it without writing any Java source files. The
sample HelloWorld worked (which is great) but was a hybrid C++/Java
solution.
Cheers,
Shaun