gcc/libjava/testsuite/libjava.jni/PR28178.java
Tom Tromey 10caa6ef96 re PR libgcj/28178 (jniEnv->DeleteLocalRef (null) fails)
PR libgcj/28178:
	* jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
	(_Jv_JNI_DeleteGlobalRef): Likewise.
	* testsuite/libjava.jni/PR28178.java: New file.
	* testsuite/libjava.jni/PR28178.c: New file.
	* testsuite/libjava.jni/PR28178.out: New file.

From-SVN: r115034
2006-06-27 15:33:24 +00:00

16 lines
202 B
Java

// Regression test for PR 28178.
public class PR28178
{
static {
System.loadLibrary("PR28178");
}
public static native void m();
public static void main(String[] args)
{
m();
}
}