Problems calling native code from QUIT handler

Gary Howland gary at systemics.com
Wed May 14 09:21:47 PDT 1997


> 'dumpStack' is a static class method, so you should use
> 'do_execute_java_class_method' to call it.

Thanks.  I'm still having problems though.  I've changed my code to the 
following:

in exception.c:

	void
	quitStatus(EXCEPTIONPROTO)
	{
	    sigset_t nsig;
        
	#if !defined(DEBUG)
	    /* Reset signal handler */
	    signal(sig, (SIG_T)quitStatus);
	    sigemptyset(&nsig);
	    sigaddset(&nsig, sig);
	    sigprocmask(SIG_UNBLOCK, &nsig, 0);
	#endif
    
	fprintf(stderr, "TESTING");
	    do_execute_java_class_method("java.lang.Thread", "dumpStack", "()V;");
	}     

I still get a NoSuchMethodError - any more clues?

(I've even tried with /'s instead of .'s in the class name)

Thanks in advance,

Gary




More information about the kaffe mailing list