Open lidavidm opened 9 months ago
take
In particular, this is due to the fact that the class org/apache/arrow/util/AutoCloseables.java
is not referenced inside the memory core, which means that nullables cannot be de-referenced in those close
methods.
Let me add that manually.
Yes, I think you will run into this as you enable the checker in other modules.
Also, see https://github.com/apache/arrow-adbc/pull/1495 where I have added type stubs to override annotations in some Arrow Java libraries.
Describe the enhancement requested
AutoCloseables.close works with nulls and collections of nulls, but isn't annotated appropriately, making downstream usage harder.
Component(s)
Java