--- old/src/java.base/share/classes/sun/nio/ch/IOUtil.java 2018-03-22 13:26:28.000000000 +0000 +++ new/src/java.base/share/classes/sun/nio/ch/IOUtil.java 2018-03-22 13:26:28.000000000 +0000 @@ -397,7 +397,9 @@ * The read end of the pipe is returned in the high 32 bits, * while the write end is returned in the low 32 bits. */ - static native long makePipe(boolean blocking); + static native long makePipe(boolean blocking) throws IOException; + + static native int write1(int fd, byte b) throws IOException; static native boolean drain(int fd) throws IOException;