You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Java] Checker Framework annotations for AutoCloseables in arrow-memory-core are incorrect #130
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.
Activity
davisusanibar commentedon Jan 26, 2024
take
davisusanibar commentedon Jan 29, 2024
In particular, this is due to the fact that the class
org/apache/arrow/util/AutoCloseables.javais not referenced inside the memory core, which means that nullables cannot be de-referenced in thoseclosemethods.davisusanibar commentedon Jan 29, 2024
Let me add that manually.
lidavidm commentedon Jan 29, 2024
Yes, I think you will run into this as you enable the checker in other modules.
lidavidm commentedon Jan 29, 2024
Also, see apache/arrow-adbc#1495 where I have added type stubs to override annotations in some Arrow Java libraries.
apacheGH-130: Fix AutoCloseables to work with @nullable structures
apacheGH-130: Fix AutoCloseables to work with @nullable structures
GH-130: Fix AutoCloseables to work with @nullable structures (#1017)