Problems calling native code from QUIT handler
tim at tjwassoc.co.uk
Wed May 14 07:52:09 PDT 1997
Gary Howland wrote:
> I have been having problems calling Java functions from native code.
> This is what I have tried:
> do_execute_java_method(0, (Hjava_lang_Object*)currentThread, "dumpStack", "()V;", 0, true);
> but I get a java.lang.NoSuchMethodError.
'dumpStack' is a static class method, so you should use
'do_execute_java_class_method' to call it.
Hope this helps.
Tim Wilkinson Tel/Fax: +44 181 440 0658
T. J. Wilkinson & Associates, Mobile: +44 370 621006
London, UK. Email: tim at tjwassoc.co.uk
More information about the kaffe