maintainer-feedback requested: [Bug 234593] java/openjdk8: UnsatisfiedLinkError: sun.nio.ch.FileDispatcherImpl.allocate0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 3 16:08:06 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-java mailing list
<java at FreeBSD.org> for maintainer-feedback:
Bug 234593: java/openjdk8: UnsatisfiedLinkError:
sun.nio.ch.FileDispatcherImpl.allocate0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234593



--- Description ---
Running the attached test program gives an error:

$ javac Test.java && java Test
Exception in thread "main" java.lang.UnsatisfiedLinkError:
sun.nio.ch.FileDispatcherImpl.allocate0(Ljava/io/FileDescriptor;J)I
	at sun.nio.ch.FileDispatcherImpl.allocate0(Native Method)
	at sun.nio.ch.FileDispatcherImpl.allocate(FileDispatcherImpl.java:84)
	at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:909)
	at Test.main(Test.java:11)

There is an implementation for allocate0 in
src/solaris/native/sun/nio/ch/FileDispatcherImpl.c. I guess it's only a problem
with the build system.

I'm not 100% sure but I think the program that now throws this error used to
work about a year ago.


More information about the freebsd-java mailing list