This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa 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: Problem with 'require' in servlet


Per Bothner wrote:

I think the thing to do is remove "implements Runnable" from ModuleBody,
but have non-static modules explicitly implement Runnable.  (That's
probably how it used to be, but things got shuffled around - in 2001,
it looks like.)

A work-around is to add:


(module-extends <java.lang.Object>)

to the imported module.  This prevents it from implementing
Runnable.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/



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