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:   [Bug 234593] java/openjdk8: UnsatisfiedLinkError: sun.nio.ch.FileDispatcherImpl.allocate0
Message-ID:  <bug-234593-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234593

            Bug ID: 234593
           Summary: java/openjdk8: UnsatisfiedLinkError:
                    sun.nio.ch.FileDispatcherImpl.allocate0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: shoesoft@gmx.net
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org
 Attachment #200740 text/plain
         mime type:

Created attachment 200740
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200740&action=
=3Dedit
Test program to reproduce the error

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:8=
4)
        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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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