Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2019 16:08:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 234593] java/openjdk8: UnsatisfiedLinkError: sun.nio.ch.FileDispatcherImpl.allocate0
Message-ID:  <bug-234593-8522-xuA0QxIcqb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234593-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234593-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java mailing l=
ist
<java@FreeBSD.org> for maintainer-feedback:
Bug 234593: java/openjdk8: UnsatisfiedLinkError:
sun.nio.ch.FileDispatcherImpl.allocate0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234593



--- 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 pro=
blem
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234593-8522-xuA0QxIcqb>