Hi, I've upgraded to the latest openjdk8 port and now all kinds of java programs crash instantly if I try to run them. The error message they all share seems to be this one: UnsatisfiedLinkError[sun.nio.ch.KQueueArrayWrapper.initStructSizes()V] % java -version openjdk version "1.8.0_25" OpenJDK Runtime Environment (build 1.8.0_25-b17) OpenJDK 64-Bit Server VM (build 25.25-b02, mixed mode) % uname -a FreeBSD magni.wegtam.office 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue Nov 4 05:07:17 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I tried on 3 machines (all amd64, FreeBSD 10.0) with the same result. For now I have downgraded via portdowngrade to r371759 of the port which works. Regards, Jens
Auto-assigned to maintainer java@FreeBSD.org
Created attachment 149295 [details] Fix libnio.so Please try the patch and let me know.
Created attachment 149301 [details] Fix libnio.so It seems the patch was not complete. Please ignore the previous one and try this.
A commit references this bug: Author: jkim Date: Tue Nov 11 23:54:00 UTC 2014 New revision: 372474 URL: https://svnweb.freebsd.org/changeset/ports/372474 Log: - Fix build on i386 with clang. [1] - Fix mismerged libnio.so. [2] Reported by: antoine [1] Tested by: antoine [1] PR: 194941 [2] Changes: head/java/openjdk8/Makefile head/java/openjdk8/files/patch-bsd
The patch was committed (r372474), thanks!
I've run some heavy java stuff on my machines and it seems to work fine now. Thank you very much for your work!