liyafan82 commented on a change in pull request #7676: URL: https://github.com/apache/arrow/pull/7676#discussion_r458732479
########## File path: java/vector/src/test/java/org/apache/arrow/vector/TestBitVectorHelper.java ########## @@ -22,50 +22,50 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import org.apache.arrow.memory.ArrowBuf; -import org.apache.arrow.memory.ReferenceManager; +import org.apache.arrow.memory.BufferAllocator; import org.apache.arrow.memory.RootAllocator; import org.junit.Test; -import io.netty.buffer.PooledByteBufAllocatorL; import io.netty.util.internal.PlatformDependent; public class TestBitVectorHelper { @Test public void testGetNullCount() throws Exception { + BufferAllocator root = new RootAllocator(); Review comment: I do not find the code for closing the allocator ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org