You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
False positive "Flexible Constructor Bodies is only available with source level 25" on @AllArgsConstructor with Java 21 #4543
Description:
When using Lombok's @AllArgsConstructor annotation on an entity/DTO class in a Java 21 project, the extension incorrectly flags a syntax error:
The Java feature 'Flexible Constructor Bodies' is only available with source level 25 and above Java(4195411)
Steps to reproduce:
Open a Spring Boot / Maven project with Java 21 compliance level (java.project.compiler.compliance: "21").
If any of the issues listed above are a duplicate, please consider closing this issue & upvoting/commenting the original one.
Alternatively, if neither of the listed issues addresses your feature/bug, keep this issue open.
Activity
github-actions commentedon Oct 15, 2026
We have found issues that are potential duplicates:
If any of the issues listed above are a duplicate, please consider closing this issue & upvoting/commenting the original one.
Alternatively, if neither of the listed issues addresses your feature/bug, keep this issue open.
datho7561 commentedon Oct 15, 2026
This is a duplicate of the auto-linked issue