aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/files
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2007-09-02 05:54:44 +0000
committerGreg Lewis <glewis@FreeBSD.org>2007-09-02 05:54:44 +0000
commit483a3a3beb8bf337244d6be627d554ef94739d61 (patch)
tree7c7159fab64edb44fd154d8dab7bf7ce4b2c032a /java/jdk16/files
parent282e3928bbc944154a584ed80b27ea1915549e80 (diff)
. 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>
Notes
Notes: svn path=/head/; revision=198627
Diffstat (limited to 'java/jdk16/files')
-rw-r--r--java/jdk16/files/patch-j2se-lang-UNIXProcess.java.bsd15
1 files changed, 15 insertions, 0 deletions
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();
++ }
+ }