Skip to content

[java] Fix #6743: CloseResource: False positive for closeable initialized with (T) null#6748

Merged
UncleOwen merged 4 commits into
pmd:mainfrom
lukasgraef:issue6743
Jun 4, 2026
Merged

[java] Fix #6743: CloseResource: False positive for closeable initialized with (T) null#6748
UncleOwen merged 4 commits into
pmd:mainfrom
lukasgraef:issue6743

Conversation

@lukasgraef

@lukasgraef lukasgraef commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

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 3, 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, 15 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-06-04 16:53:43+00:00 for f0f839a)

@lukasgraef lukasgraef marked this pull request as ready for review June 3, 2026 17:36
UncleOwen added 2 commits June 4, 2026 18:30
# Conflicts:
#	docs/pages/release_notes.md
# Conflicts:
#	docs/pages/release_notes.md
@UncleOwen UncleOwen merged commit 4900e7e into pmd:main Jun 4, 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 for closeable initialized with (T) null

3 participants