mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
[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.
This commit is contained in:
6 files changed
+9
-4
No files matched your search
@@ -1,3 +1,5 @@
|
||||
//version 8:
|
||||
//skip-idempotent
|
||||
import java.util.List;
|
||||
class CheckerFrameworkBuilder {
|
||||
int x;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// version 14:
|
||||
class LoggerFloggerRecord {
|
||||
record Inner(String x) {
|
||||
public record Inner(String x) {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//version 7:8
|
||||
public class ValInvalidParameter {
|
||||
public void val() {
|
||||
final java.lang.Object a = a(new NonExistingClass());
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// version 14:
|
||||
import lombok.extern.flogger.Flogger;
|
||||
class LoggerFloggerRecord {
|
||||
static @Flogger record Inner(String x) {
|
||||
public static @Flogger record Inner(com log) {
|
||||
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
|
||||
/* Implicit */ private final String x;
|
||||
<clinit>() {
|
||||
|
||||
@@ -4,5 +4,5 @@ import lombok.extern.flogger.Flogger;
|
||||
|
||||
class LoggerFloggerRecord {
|
||||
@Flogger
|
||||
record Inner(String x) {}
|
||||
public record Inner(String x) {}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
//version :9
|
||||
//version 8:9
|
||||
import lombok.val;
|
||||
|
||||
public class ValInvalidParameter {
|
||||
|
||||
Reference in new issue
Block a user