This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Non-static classes
- From: Per Bothner <per at bothner dot com>
- To: Margus Freudenthal <margus at cyber dot ee>
- Cc: kawa at sources dot redhat dot com
- Date: Tue, 02 Jan 2007 08:24:57 -0800
- Subject: Re: Non-static classes
- References: <459A2246.9060003@cyber.ee>
Margus Freudenthal wrote:
However, there seems to be no way to use these classes from kawa. If I
just do (make SomeClass), I get runtime error:
java.lang.NoSuchMethodError: SomeClass: method <init>()V not found
If I put module instance in a variable (using Java code) and do (make
SomeClass module-instance), I get compile-time error:
no possibly applicable method '<init>' in SomeClass
Are the non-static classes meant to be called from Scheme?
Yes. And it is tested for in the Kawa testsuite, so it works in at
least some cases.
Could you try to compe up with a simple testcase, including
specifying exactly what you did, and which version of Kawa
you use? (Please try the SVN version or the 1.8.91 version.)
--
--Per Bothner
per@bothner.com http://per.bothner.com/