Skip to content

Conversation

@axreldable
Copy link
Contributor

@axreldable axreldable commented Feb 12, 2026

What's Changed

AutoCloseables supposes to work with nullable Iterables, varargs, and collection of nulls. The PR introduces:

  • @Nullable annotation for all public methods in AutoCloseables (only private flatten method doesn't support null Iterable)
  • null checks to prevent NPEs

The change is backward compatible. Only possible NPEs are prevented.


Closes #130 .

@github-actions

This comment has been minimized.

@axreldable
Copy link
Contributor Author

Please add the enhancement label.

@lidavidm lidavidm added the enhancement PRs that add or improve features. label Feb 13, 2026
@github-actions github-actions bot added this to the 19.0.0 milestone Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement PRs that add or improve features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Java] Checker Framework annotations for AutoCloseables in arrow-memory-core are incorrect

2 participants