Branch: refs/heads/main
  Home:   https://github.com/pmd/pmd
  Commit: 5ce92383e49b2ce5baea5f3e253106e20ba63b6f
      https://github.com/pmd/pmd/commit/5ce92383e49b2ce5baea5f3e253106e20ba63b6f
  Author: Yuriy Tumanov <[email protected]>
  Date:   2026-09-26 (Sat, 26 Sep 2026)

  Changed paths:
    M docs/pages/release_notes.md
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ExceptionAsFlowControlRule.java
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ExceptionAsFlowControl.xml

  Log Message:
  -----------
  [java] ExceptionAsFlowControl: stop at a lambda body (#7105)

* [java] ExceptionAsFlowControl: stop at a lambda body

An exception thrown in a lambda body propagates to whoever invokes the
lambda, not to the try statement around the lambda expression.

Fixes #4815

* Move lambda expression check into the loop header.

* formatting

* [docs] Update release notes

---------

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