gcc/libjava/testsuite/libjava.jni/noclass.c
Tom Tromey a51c1a1a0a noclass.c: New file.
* libjava.jni/noclass.c: New file.
	* libjava.jni/noclass.out: New file.
	* libjava.jni/noclass.java: New file.

From-SVN: r32226
2000-02-27 21:42:40 +00:00

10 lines
215 B
C

#include <noclass.h>
void
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");
}