David Li created ARROW-9448:
-------------------------------
Summary: [Java] Circular initialization between ArrowBuf and
BaseAllocator leads to null HistoricalLog in tests
Key: ARROW-9448
URL: https://issues.apache.org/jira/browse/ARROW-9448
Project: Apache Arrow
Issue Type: Bug
Components: Java
Reporter: David Li
Still working on a reproduction (this is internal code), but what I see is:
# Test initializes a RootAllocator in a JUnit @Before
# BaseAllocator.<clinit> creates a Config
# The constructor of ImmutableConfig gets the allocation manager
# This eventually runs NettyAllocationManager.<clinit>
# This creates a static ArrowBuf as the empty buffer
# The ArrowBuf has a null HistoricalLog as BaseAllocator hasn't fully
initialized yet
--
This message was sent by Atlassian Jira
(v8.3.4#803005)