From 483a3a3beb8bf337244d6be627d554ef94739d61 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 2 Sep 2007 05:54:44 +0000 Subject: . Fix another problem with exec() by using the same static initialisation block that Linux and Solaris use. This was already fixed in the repo but I'd neglected to commit the fix to the port and it was independently submitted as noted below. Submitted by: Michiel Boland --- java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd (limited to 'java/jdk16/files') diff --git a/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd b/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd new file mode 100644 index 000000000000..5a0ac49d560b --- /dev/null +++ b/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd @@ -0,0 +1,15 @@ +$FreeBSD$ + +--- ../../j2se/src/solaris/classes/java/lang/UNIXProcess.java.bsd 28 Apr 2007 18:05:52 -0000 1.1 ++++ ../../j2se/src/solaris/classes/java/lang/UNIXProcess.java.bsd 28 Aug 2007 06:42:17 -0000 1.2 +@@ -195,4 +195,10 @@ + } + } + ++ /* This routine initializes JNI field offsets for the class */ ++ private static native void initIDs(); ++ ++ static { ++ initIDs(); ++ } + } -- cgit v1.2.3