jdk/src/java.base/unix/classes/sun/nio/ch/InheritedChannel.java
changeset 26207 a02f6165d5be
parent 25859 3317bb8137f4
child 37521 b6e0f285c998
--- 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();
     }
 }