FreeBSD Bugzilla – Attachment 200740 Details for
Bug 234593
java/openjdk8: UnsatisfiedLinkError: sun.nio.ch.FileDispatcherImpl.allocate0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test program to reproduce the error
Test.java (text/plain), 397 bytes, created by
Stefan Ehmann
on 2019-01-03 16:08:03 UTC
(
hide
)
Description:
Test program to reproduce the error
Filename:
MIME Type:
Creator:
Stefan Ehmann
Created:
2019-01-03 16:08:03 UTC
Size:
397 bytes
patch
obsolete
>import java.io.*; >import java.nio.*; >import java.nio.channels.*; > >public class Test { > public static void main(String[] args) { > try { > File file = new File("foo"); > RandomAccessFile raf = new RandomAccessFile(file,"rw"); > FileChannel fc = raf.getChannel(); > MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0, 1); > } catch (IOException e) { > e.printStackTrace(); > } > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 234593
: 200740 |
200746