diff options
Diffstat (limited to 'luni')
-rw-r--r-- | luni/src/main/java/java/nio/NioUtils.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/luni/src/main/java/java/nio/NioUtils.java b/luni/src/main/java/java/nio/NioUtils.java index 7c51da1..a1a46b6 100644 --- a/luni/src/main/java/java/nio/NioUtils.java +++ b/luni/src/main/java/java/nio/NioUtils.java @@ -26,25 +26,6 @@ public final class NioUtils { private NioUtils() { } - /** - * Gets the start address of a direct buffer. - * <p> - * This method corresponds to the JNI function: - * - * <pre> - * void* GetDirectBufferAddress(JNIEnv* env, jobject buf); - * </pre> - * - * @param buf - * the direct buffer whose address shall be returned must not be - * <code>null</code>. - * @return the address of the buffer given, or zero if the buffer is not a - * direct Buffer. - */ - public static int getDirectBufferAddress(Buffer buffer) { - return buffer.effectiveDirectAddress; - } - public static void freeDirectBuffer(ByteBuffer buffer) { if (buffer == null) { return; |