gcc/libjava/testsuite/libjava.jni/noclass.c

10 lines
233 B
C
Raw Normal View History

#include <noclass.h>
JNIEXPORT void JNICALL
Java_noclass_find_1it (JNIEnv *env, jclass k)
{
/* We cause an exception by asking for a class we know does not
exist. */
k = (*env)->FindClass (env, "java/lang/Sarcophagus");
}