Skip to content

[java] Fix #4623: CloseResource: False positive with resource being closed in method - #6811

Merged
UncleOwen merged 3 commits into
pmd:mainfrom
lukasgraef:issue4623
Aug 13, 2026
Merged

UncleOwen merged 3 commits into
pmd:mainfrom
lukasgraef:issue4623

Conversation

@lukasgraef

@lukasgraef lukasgraef commented Jun 23, 2026 •

Copy link
Copy Markdown
Member

Describe the PR

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@pmd-actions-helper

pmd-actions-helper Bot commented Jun 23, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 16 errors and 9 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-08-13 19:32:40+00:00 for d6cb680)

@lukasgraef
lukasgraef force-pushed the issue4623 branch 4 times, most recently from 32ec62e to 9da78ca Compare August 6, 2026 16:22
@lukasgraef
lukasgraef marked this pull request as ready for review August 7, 2026 12:28
lukasgraef and others added 2 commits August 8, 2026 16:25
# Conflicts:
#	docs/pages/release_notes.md
@UncleOwen UncleOwen added this to the 7.27.0 milestone Aug 13, 2026

@UncleOwen UncleOwen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@UncleOwen
UncleOwen merged commit c331aec into pmd:main Aug 13, 2026
13 checks passed
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.

[java] CloseResource: False positive with resource being closed in method

2 participants