Open MCMicS opened 3 years ago
is any progress here?
Feels like a GWT bug that has nothing to do with lombok. It exudes bugginess and lack of care. An error that lists a line number but doesn't list a file or a type? That's a bit daft, no? Or is that just a pasting issue?
Pretty cool you made a reproduction target, maybe we can look at it thursday evening.
My first indention was a GWT issue but why this happens after update lombok version.
Maybe a mix issue between lombok and GWT.
But the github action in my sample should demonstrate the difference the lombok versions
Describe the bug After Upgrade from 1.18.10 to at least 1.18.12 the compilation of GWT modules will fail with JSR 308 Annotation error.
I've tried the newest version (1.18.20) because some fixed ECJ error but this still occurs.
To Reproduce Sample project; https://github.com/MCMicS/gwt-lombok-issue you can switch between the branches for single lombok versions.
in branch delomboked is a test for inner
static class
(with@Value
and@ParametersAreNonnullByDefault
) which will also break the compilationThere is also a matrix workflow for
1.18.1.0
,1.18.12
and1.18.20
.Expected behavior Compilation still works with newer lombok version without delombokes source jars
Version info (please complete the following information):
Additional context Firstly it seems related to #2640. It seems to work if the Lombok annotated Files was within the current project. But it fails if the annotated files are within a jar file. If I use delomboked sources the compilation works again.
Maybe I've forgotten to configure something My first idea was following change:
lombok.addNullAnnotations