This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: Fix pr11951 JNI test case
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 05 May 2004 17:00:00 -0400
- Subject: Patch: FYI: Fix pr11951 JNI test case
This patch adds a missing System.loadLibrary() call to this test case.
Odd that it wasn't failing before.
Bryce
2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
* testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
call.
Index: testsuite/libjava.jni/pr11951.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.jni/pr11951.java,v
retrieving revision 1.1
diff -u -r1.1 pr11951.java
--- testsuite/libjava.jni/pr11951.java 18 Aug 2003 14:35:34 -0000 1.1
+++ testsuite/libjava.jni/pr11951.java 5 May 2004 20:58:04 -0000
@@ -11,4 +11,8 @@
{
nmethod();
}
+
+ static {
+ System.loadLibrary("pr11951");
+ }
}