make errors with current cvs

Per Bothner per@bothner.com
Fri Dec 20 10:36:00 GMT 2002


Robert D. Skeels wrote:
> It took a while to figure out where to put the call. However, here is the
> combined stdout and stderr resulting. It seems that your are right about the
> method not being found.
> 
> public static kawa.standard.Scheme kawa.standard.Scheme.getInstance()
> java.lang.NoSuchMethodException
>     at java.lang.Class.getDeclaredMethod(Class.java)
>     at gnu.expr.Interpreter.getInstance(Interpreter.java:139)
>     at gnu.expr.Interpreter.getInstance(Compiled Code)
>     at kawa.repl.getInterpreter(repl.java:153)

I'm rather confused wher you put the println(method).
A NoSuchMethodException in line 139 should be caught by the
handler just below, which should get Scheme's getInstance
method.  (I.e. Interpreter first looks for Scheme.getSchemeInstance
and then it looks for Scheme.getInstance.)
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/



More information about the Kawa mailing list