aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2023-03-01 22:49:05 +0100
committerRoel Spilker <r.spilker@gmail.com>2023-03-22 10:22:34 +0100
commitcc6309250bddd0d67bb646230f4a86f7d8f29659 (patch)
tree4e8b3045b65f7f77a9cc3d8da0ea5bc052a0c747 /test
parent2837c6df59a64bc4dfb2f015df1bbd85af3a34c5 (diff)
downloadlombok-cc6309250bddd0d67bb646230f4a86f7d8f29659.tar.gz
lombok-cc6309250bddd0d67bb646230f4a86f7d8f29659.tar.bz2
lombok-cc6309250bddd0d67bb646230f4a86f7d8f29659.zip
Run static in record test only for JDK16+
javac bug (JDK-8243057)
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-delombok/LoggerFloggerRecord.java2
-rw-r--r--test/transform/resource/before/LoggerFloggerRecord.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/LoggerFloggerRecord.java b/test/transform/resource/after-delombok/LoggerFloggerRecord.java
index bd51d056..98ad3c7c 100644
--- a/test/transform/resource/after-delombok/LoggerFloggerRecord.java
+++ b/test/transform/resource/after-delombok/LoggerFloggerRecord.java
@@ -1,4 +1,4 @@
-// version 14:
+// version 16:
class LoggerFloggerRecord {
public record Inner(String x) {
@java.lang.SuppressWarnings("all")
diff --git a/test/transform/resource/before/LoggerFloggerRecord.java b/test/transform/resource/before/LoggerFloggerRecord.java
index f8f48f2c..ce38b584 100644
--- a/test/transform/resource/before/LoggerFloggerRecord.java
+++ b/test/transform/resource/before/LoggerFloggerRecord.java
@@ -1,4 +1,4 @@
-// version 14:
+// version 16:
import lombok.extern.flogger.Flogger;