Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGradle+Lombok compile error on @Builder, works in Eclipse with Lombok #1646
Comments
|
Maybe a javac bug in the improved type inference code? Compiling on Java 8 works for me, but 9 and 10 fail. Passing
Possibly related:
On that second one, note these comments:
|
I'm running into a compilation error when compiling with Gradle using
@Builder. Eclipse with Lombok installed does not raise a compilation error. The following is a minimal reproduction of the issue:A.java:Running
./gradlew jargives the following error:Some remarks about this example:
getIntmethod removes the compilation errorCollectors.toList()withCollectors.<Object>toList()removes the compilation error@Builderremoves the compilation errorbuild.gradle:Gradle Wrapper Version: