This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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");
+  }  
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]