From 47a303bedbc5c757e04930c015fc7013061105c9 Mon Sep 17 00:00:00 2001 From: siddharth Date: Thu, 25 Apr 2019 14:43:56 -0700 Subject: [PATCH] Setting io.netty.tryReflectionSetAccessible to true --- java/memory/src/main/java/io/netty/buffer/NettyArrowBuf.java | 2 +- java/pom.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/java/memory/src/main/java/io/netty/buffer/NettyArrowBuf.java b/java/memory/src/main/java/io/netty/buffer/NettyArrowBuf.java index 56221a95d54d6..2b831a671cf63 100644 --- a/java/memory/src/main/java/io/netty/buffer/NettyArrowBuf.java +++ b/java/memory/src/main/java/io/netty/buffer/NettyArrowBuf.java @@ -212,7 +212,7 @@ public ByteBuffer nioBuffer() { @Override public ByteBuffer nioBuffer(int index, int length) { - checkIndex(index, length); + chk(index, length); final ByteBuffer buffer = getDirectBuffer(); buffer.position(index).limit(index + length); return buffer; diff --git a/java/pom.xml b/java/pom.xml index 9e4afcfa5464f..ffa1503a02ddf 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -381,6 +381,7 @@ true ${project.build.directory} + true