diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-24 06:20:02 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-24 06:22:15 +0100 |
commit | 52a31bc4ae2806907194d32567a820c670670357 (patch) | |
tree | 0c5322c9c41fffe091d72834d9e5981f077e6c7b /test/core/src/lombok | |
parent | 3d7754e269ec84604d43be97a684bb26b519c6b9 (diff) | |
download | lombok-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.java | 7 |
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); |