< prev index next >

src/java.base/share/classes/java/nio/Buffer.java

Print this page

        

*** 737,745 **** --- 737,749 ---- new JavaNioAccess() { @Override public JavaNioAccess.BufferPool getDirectBufferPool() { return Bits.BUFFER_POOL; } + @Override + public ByteBuffer newDirectByteBuffer(long addr, int cap, Object ob) { + return new DirectByteBuffer(addr, cap, ob); + } }); } }
< prev index next >