From 55bcc142d08ac8a4de0c3965333e3816c496799f Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 6 Feb 2018 22:14:03 +0100 Subject: [jdk9] forcing new rounds when compiling multiple modules didn’t work. (FilerException on creating the new round). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/templates/setup/javac.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'website') diff --git a/website/templates/setup/javac.html b/website/templates/setup/javac.html index 113be9c0..f90cb727 100644 --- a/website/templates/setup/javac.html +++ b/website/templates/setup/javac.html @@ -17,8 +17,10 @@ Both are equally effective. Note that you will have to add lombok to your module-info.java file:
 module myapp {
-	requires lombok;
+	requires static lombok;
 }
+

+ The 'static' part ensures that you won't need lombok to be present at runtime.

Feedback about JDK9 module-info support can be given at github issue #985.

-- cgit