ports/java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd
Greg Lewis 483a3a3beb . 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 <michiel@boland.org>
2007-09-02 05:54:44 +00:00

16 lines
396 B
Plaintext

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