projectlombok / lombok

Very spicy additions to the Java programming language.
https://projectlombok.org/
Other
12.86k stars 2.38k forks source link

[BUG] Lombok with Java 21 Compilation failure with v1.18.32 #3704

Open shortthirdman opened 3 months ago

shortthirdman commented 3 months ago

Describe the bug Using the combination of @Data, @Builder,@NoArgsConstructor, and @AllArgsConstructor throws the error that - constructor Person() is already defined in class com.example.Person

To Reproduce

Expected behavior The Maven project expects to be built successfully. This error seems to be related to version specific as the lower version (1.18.30 and below) worked as expected.

Version info (please complete the following information):

java version "21.0.3" 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)

Output of About IntelliJ

IntelliJ IDEA 2024.1.4 (Community Edition)
Build #IC-241.18034.62, built on June 20, 2024
Runtime version: 17.0.11+1-b1207.24 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4046M
Cores: 18
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  Docker (241.18034.82)
  Lombook Plugin (241.18034.62)
  org.intellij.scala (2024.1.24)
Kotlin: 241.18034.62-IJ
shortthirdman commented 1 week ago

@projectlombok Any roadmap to debug the issue.