From 2d948ce3e1da08053aac85e9bd0216b2748c0c85 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 11 Jan 2023 23:51:46 +0100 Subject: [test] Just cleaning up tests that fail on javac8/6 and ecj. These tests should fail on j6/8 as they use newer features; the test files lacked proper markings so they weren't being skipped. --- test/transform/resource/before/LoggerFloggerRecord.java | 2 +- test/transform/resource/before/ValInvalidParameter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/transform/resource/before') diff --git a/test/transform/resource/before/LoggerFloggerRecord.java b/test/transform/resource/before/LoggerFloggerRecord.java index 908704d6..f8f48f2c 100644 --- a/test/transform/resource/before/LoggerFloggerRecord.java +++ b/test/transform/resource/before/LoggerFloggerRecord.java @@ -4,5 +4,5 @@ import lombok.extern.flogger.Flogger; class LoggerFloggerRecord { @Flogger - record Inner(String x) {} + public record Inner(String x) {} } diff --git a/test/transform/resource/before/ValInvalidParameter.java b/test/transform/resource/before/ValInvalidParameter.java index f4961c4e..10487e47 100644 --- a/test/transform/resource/before/ValInvalidParameter.java +++ b/test/transform/resource/before/ValInvalidParameter.java @@ -1,4 +1,4 @@ -//version :9 +//version 8:9 import lombok.val; public class ValInvalidParameter { -- cgit