aboutsummaryrefslogtreecommitdiff
path: root/test/core/src/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-24 06:20:02 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-24 06:22:15 +0100
commit52a31bc4ae2806907194d32567a820c670670357 (patch)
tree0c5322c9c41fffe091d72834d9e5981f077e6c7b /test/core/src/lombok
parent3d7754e269ec84604d43be97a684bb26b519c6b9 (diff)
downloadlombok-52a31bc4ae2806907194d32567a820c670670357.tar.gz
lombok-52a31bc4ae2806907194d32567a820c670670357.tar.bz2
lombok-52a31bc4ae2806907194d32567a820c670670357.zip
[records] [`@NonNull`] eclipse impl onfthe `@NonNull` on record components feature.
All tests passing.
Diffstat (limited to 'test/core/src/lombok')
-rw-r--r--test/core/src/lombok/RunTestsViaEcj.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java
index 2e89f99b..afba8c7f 100644
--- a/test/core/src/lombok/RunTestsViaEcj.java
+++ b/test/core/src/lombok/RunTestsViaEcj.java
@@ -156,7 +156,12 @@ public class RunTestsViaEcj extends AbstractRunTests {
CompilationUnitDeclaration cud = compilationUnit_.get();
if (cud == null) result.append("---- No CompilationUnit provided by ecj ----");
- else result.append(cud.toString());
+ else {
+ String output = cud.toString();
+ // starting somewhere around ecj16, the print code is a bit too cavalier with printing modifiers.
+ output = output.replace("non-sealed @val", "@val");
+ result.append(output);
+ }
if (eclipseAvailable()) {
EclipseDomConversion.toDomAst(cud, sourceArray);