This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
cannot 'require' in embedded code (AGAIN...)
- Subject: cannot 'require' in embedded code (AGAIN...)
- From: Marco Vezzoli <marco dot vezzoli at st dot com>
- Date: Tue, 02 May 2000 07:59:36 +0200
- Cc: kawa at sourceware dot cygnus dot com
- Organization: sgs-thomson
- References: <3906C21D.161F5EBA@flashnet.it>
Hi everybody,
I'm desperately trying to upload a compiled module inside an interpreter
embedded in my java code.
It seems that evalunating a "require" statement is the correct way, but
I get this exception.
> Exception in thread "main" java.lang.Error: internal error - SetExp.eval
> with lexical binding
> at gnu.expr.SetExp.eval(SetExp.java, Compiled Code)
> at gnu.expr.BeginExp.eval(BeginExp.java, Compiled Code)
> at gnu.expr.ModuleExp.evalModule(ModuleExp.java, Compiled Code)
> at kawa.lang.Eval.evalBody(Eval.java, Compiled Code)
> at kawa.standard.Scheme.eval(Scheme.java, Compiled Code)
> at kawa.standard.Scheme.eval(Scheme.java, Compiled Code)
> at test1.eval(test1.java, Compiled Code)
> at test1.main(test1.java, Compiled Code)
>
I tried with many other ways but the best result I've got is that
exception.
*In interactive mode everything runs well.*
Maybe there is a conflict in the module system?
Marco
--
(--cafe babe--)
Marco Vezzoli marco.vezzoli@st.com
CR&D Intranet Developement STMicroelectronics
tel. +39 039 603 6852 fax. +39 039 603 5055