[Kde-java] Re: GCJ (Re: Build system for KDE4)

Martijn Klingens klingens at kde.org
Thu Jun 16 09:38:34 CEST 2005


Richard Dale said:
> If a qtjava method returns an instance that was allocated in the C++
> world, it will create a new java instance to wrap it. So as long as you
> only need java classes which are defined in the bindings in the test
> driver, that will work.
> But if you have your own C++ classes, and want to call methods on them
> that aren't in the java bindings, then you would have to write your own
> bindings for those classes.

Unless that can be automated somehow that's really not worth it for just
the test apps. (Reason I want to write those in Java is because AFAIU Java
shines in unit tests compared to C++, I have already written most of the
C++ lib, and the time is not right for adding a dependency on Java on the
lib itself whereas for just the tests it is IMO acceptable.

-- 
Martijn


More information about the Kde-java mailing list