aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2023-03-01 21:50:32 +0100
committerRoel Spilker <r.spilker@gmail.com>2023-03-22 10:22:34 +0100
commited56aab237ffc9870bb4fa7ed962c6361f90d0ab (patch)
tree74bc807d3ec6ad1b1d634c4219a36e023c9b6c51
parenta03ef7ceff7581b189448a3dc2afef18e3fb2792 (diff)
downloadlombok-ed56aab237ffc9870bb4fa7ed962c6361f90d0ab.tar.gz
lombok-ed56aab237ffc9870bb4fa7ed962c6361f90d0ab.tar.bz2
lombok-ed56aab237ffc9870bb4fa7ed962c6361f90d0ab.zip
Run test with default methods in interface only for JDK8+
-rw-r--r--test/transform/resource/after-delombok/ValSuperDefaultMethod.java2
-rw-r--r--test/transform/resource/before/ValSuperDefaultMethod.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/ValSuperDefaultMethod.java b/test/transform/resource/after-delombok/ValSuperDefaultMethod.java
index 5275a5e8..8cb9b25e 100644
--- a/test/transform/resource/after-delombok/ValSuperDefaultMethod.java
+++ b/test/transform/resource/after-delombok/ValSuperDefaultMethod.java
@@ -1,4 +1,4 @@
-// version :9
+// version 8:9
class ValSuperDefaultMethod implements Default {
public void test() {
final java.lang.String a = "";
diff --git a/test/transform/resource/before/ValSuperDefaultMethod.java b/test/transform/resource/before/ValSuperDefaultMethod.java
index 93bcb153..1ccb3c2f 100644
--- a/test/transform/resource/before/ValSuperDefaultMethod.java
+++ b/test/transform/resource/before/ValSuperDefaultMethod.java
@@ -1,4 +1,4 @@
-// version :9
+// version 8:9
import lombok.val;
class ValSuperDefaultMethod implements Default {