--- a/jdk/src/share/classes/sun/nio/ch/IOUtil.java Tue Aug 31 09:17:46 2010 -0700
+++ b/jdk/src/share/classes/sun/nio/ch/IOUtil.java Wed Sep 01 09:45:08 2010 -0700
@@ -319,7 +319,12 @@
static native boolean randomBytes(byte[] someBytes);
- static native void initPipe(int[] fda, boolean blocking);
+ /**
+ * Returns two file descriptors for a pipe encoded in a long.
+ * 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 boolean drain(int fd) throws IOException;