define-simple-class and Java constructors

Per Bothner per@bothner.com
Fri Mar 14 17:01:00 GMT 2003


Vladimir Tsichevski wrote:
> is it possible to define custom Java constructors in 
> define-simple-class directives ?

Not really.  I haven't even decided on the proper syntax.

> Another question: how to execute methods on `super' in such classes?

The intention is that
    (invoke (this <name-of-super-class>) 'method-name args ...)
or something like it should work - but I very much doubt it does.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Kawa mailing list