# java:S1143 false positive for return inside lambda in finally block

**URL:** <https://community.sonarsource.com/t/java-s1143-false-positive-for-return-inside-lambda-in-finally-block/181886>\
**Category:** SonarQube Server / Community Build\
**Tags:** java\
**Created:** [April 30, 2026, 9:47am UTC](https://community.sonarsource.com/t/java-s1143-false-positive-for-return-inside-lambda-in-finally-block/181886 "2026-04-30T09:47:24Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Emilyaxe](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/emilyaxe/32/76074_2.png) [@Emilyaxe](https://community.sonarsource.com/u/Emilyaxe)\
**Post date:** [May 6, 2026, 1:57am UTC](https://community.sonarsource.com/t/java-s1143-false-positive-for-return-inside-lambda-in-finally-block/181886/8 "2026-05-06T01:57:39Z")

</div>

Hi Alban,

Thank you for the quick response and for confirming the issue.

Yes, I have been using some ML research tools to help find inconsistencies in static analysis tools. I’ll also try to control the pace of my reports. If it ever becomes noisy or inconvenient on your side, please feel free to let me know.

When you have time, could you also take a look at these two reports?

- `java:S1144` false positive for fully-qualified `@MethodSource` reference in JUnit 5  
[java:S1144 false positive for fully-qualified @MethodSource reference in JUnit 5](https://community.sonarsource.com/t/java-s1144-false-positive-for-fully-qualified-methodsource-reference-in-junit-5/181887)
- `S1128` incorrectly reports unused static imports for same-class constants  
[S1128 incorrectly reports unused static imports for same-class constants](https://community.sonarsource.com/t/s1128-incorrectly-reports-unused-static-imports-for-same-class-constants/181888)

Thanks again!

Best,

---

_[View the full topic](https://community.sonarsource.com/t/java-s1143-false-positive-for-return-inside-lambda-in-finally-block/181886)._
