Skip to content

add back and deprecate IO.close(InputStream)#3756

Merged
hazendaz merged 1 commit intospotbugs:masterfrom
JuditKnoll:io-close-deprecate
Oct 8, 2025
Merged

add back and deprecate IO.close(InputStream)#3756
hazendaz merged 1 commit intospotbugs:masterfrom
JuditKnoll:io-close-deprecate

Conversation

@JuditKnoll
Copy link
Collaborator

During modernizing the edu.umd.cs.findbugs.io.IO.close(InputStream) method was removed in #3683. It turns out it is used in FindSecBugs and causes issues (see find-sec-bugs/find-sec-bugs#766).
This PR reverts this part of that PR and deprecates the method.


Make sure these boxes are checked before submitting your PR -- thank you!

  • Added an entry into CHANGELOG.md if you have changed SpotBugs code

@hazendaz hazendaz added this to the Spotbugs 4.9.7 milestone Oct 8, 2025
@hazendaz hazendaz merged commit 1d1fbf0 into spotbugs:master Oct 8, 2025
15 checks passed
@hazendaz hazendaz self-assigned this Oct 8, 2025
@JuditKnoll JuditKnoll deleted the io-close-deprecate branch October 8, 2025 06:34
@JuditKnoll JuditKnoll restored the io-close-deprecate branch October 8, 2025 06:35
@JuditKnoll JuditKnoll deleted the io-close-deprecate branch October 8, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants