src/java.base/unix/classes/sun/nio/ch/InheritedChannel.java

Print this page

        

*** 224,240 **** --- 224,242 ---- } // -- 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; private static native void close0(int fd) throws IOException; private static native int soType0(int fd); private static native InetAddress peerAddress0(int fd); private static native int peerPort0(int fd); static { IOUtil.load(); + initIDs(); } }