Skip to content

[java] Model File.list and listFiles as nullable for Pulse - #2308

Merged
dulmarod merged 1 commit into
meta:mainfrom
tanvir-ux:fix/file-listfiles-nullable
Nov 17, 2026
Merged

dulmarod merged 1 commit into
meta:mainfrom
tanvir-ux:fix/file-listfiles-nullable

Conversation

@tanvir-ux

Copy link
Copy Markdown
Contributor

File.list and listFiles return null when the path is not a directory or an I/O error occurs. That null comes from a native call, so Pulse missed the dereference (#2109).

make -C infer/tests/codetoanalyze/java/pulse test

Please see CONTRIBUTING.md for how to set up your development environment and run tests.

File.list and listFiles return null when the path is not a directory or
an I/O error occurs. That null comes from a native call, so Pulse missed
the dereference (meta#2109).

make -C infer/tests/codetoanalyze/java/pulse test

Co-authored-by: Tanvir Alam <tanviralamshuvo@gmail.com>
@meta-cla meta-cla Bot added the CLA Signed label Nov 16, 2026
@dulmarod
dulmarod merged commit acf39c2 into meta:main Nov 17, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants