--- a/jdk/src/java.base/unix/classes/sun/nio/ch/InheritedChannel.java Tue Aug 26 10:10:58 2014 +0100
+++ b/jdk/src/java.base/unix/classes/sun/nio/ch/InheritedChannel.java Tue Aug 26 10:19:56 2014 +0100
@@ -226,6 +226,7 @@
// -- Native methods --
+ private static native void initIDs();
private static native int dup(int fd) throws IOException;
private static native void dup2(int fd, int fd2) throws IOException;
private static native int open0(String path, int oflag) throws IOException;
@@ -236,5 +237,6 @@
static {
IOUtil.load();
+ initIDs();
}
}