PlatformDependent0 { static ByteBuffer newDirectBuffer(long address, int capacity) { ObjectUtil.checkPositiveOrZero(capacity, "capacity"); try { return (ByteBuffer) DIRECT_BUFFER_CONSTRUCTOR.newInstance(address, capacity); } catch (Throwable cause) { if (cause instanceof Error) { throw (Error) cause; } throw new Error(cause); } } private  PlatformDependent0();   }
@Test public void testNewDirectBufferZeroMemoryAddress() { PlatformDependent0.newDirectBuffer(0, 10); }