Branch: refs/heads/main
  Home:   https://github.com/pmd/pmd
  Commit: c331aece8a946f3dacbacf3328321acf9631c27f
      https://github.com/pmd/pmd/commit/c331aece8a946f3dacbacf3328321acf9631c27f
  Author: Lukas Gräf <[email protected]>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    M docs/pages/release_notes.md
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloseResourceRule.java
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/CloseResource.xml

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

* [java] CloseResource: Fix false positive with resource being closed in method

* support more cases: closed in lambda, closed in method in nested class, track 
which param is actually closed

---------

Co-authored-by: Sören Glimm <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/pmd/pmd/settings/notifications


_______________________________________________
Pmd-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmd-commits

Reply via email to