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: make errors with current cvs


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/


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