aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2021-08-18 17:59:44 +0200
committerRawi01 <Rawi01@users.noreply.github.com>2021-08-18 17:59:44 +0200
commitaab88086565355f2740b287cf6a8c28d3329150e (patch)
tree9c3e8ccd95df464d5cfc5071b53dacdfb46c9987
parent7bea429ea78204365dafde4f69c4e4c2a4b82587 (diff)
downloadlombok-aab88086565355f2740b287cf6a8c28d3329150e.tar.gz
lombok-aab88086565355f2740b287cf6a8c28d3329150e.tar.bz2
lombok-aab88086565355f2740b287cf6a8c28d3329150e.zip
[jdk17] Ignore new strictfp warnings
-rw-r--r--test/pretty/resource/messages/DefaultMethod.java.messages1
-rw-r--r--test/pretty/resource/messages/ExoticJava.java.messages1
-rw-r--r--test/transform/src/lombok/transform/TestSourceFiles.java2
3 files changed, 3 insertions, 1 deletions
diff --git a/test/pretty/resource/messages/DefaultMethod.java.messages b/test/pretty/resource/messages/DefaultMethod.java.messages
new file mode 100644
index 00000000..766c3d8c
--- /dev/null
+++ b/test/pretty/resource/messages/DefaultMethod.java.messages
@@ -0,0 +1 @@
+OPTIONAL 9 as of release 17, all floating-point expressions are evaluated strictly and 'strictfp' is not required \ No newline at end of file
diff --git a/test/pretty/resource/messages/ExoticJava.java.messages b/test/pretty/resource/messages/ExoticJava.java.messages
new file mode 100644
index 00000000..68e8d281
--- /dev/null
+++ b/test/pretty/resource/messages/ExoticJava.java.messages
@@ -0,0 +1 @@
+OPTIONAL 16 as of release 17, all floating-point expressions are evaluated strictly and 'strictfp' is not required \ No newline at end of file
diff --git a/test/transform/src/lombok/transform/TestSourceFiles.java b/test/transform/src/lombok/transform/TestSourceFiles.java
index ac8b59c1..5fb0614b 100644
--- a/test/transform/src/lombok/transform/TestSourceFiles.java
+++ b/test/transform/src/lombok/transform/TestSourceFiles.java
@@ -51,7 +51,7 @@ public class TestSourceFiles extends DirectoryRunner.TestParams {
@Override
public File getMessagesDirectory() {
- return null;
+ return new File("test/pretty/resource/messages");
}
@Override