From bb95ad218d29a9f5b1011b7c7b919ed41337a00b Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 6 Feb 2018 06:17:28 +0100 Subject: [website] Updated docs for JDK9 module-info support. --- website/templates/setup/javac.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'website') diff --git a/website/templates/setup/javac.html b/website/templates/setup/javac.html index 9cc9a560..113be9c0 100644 --- a/website/templates/setup/javac.html +++ b/website/templates/setup/javac.html @@ -9,7 +9,18 @@ <@s.section title="JDK 9">

- Support for JDK9 is ongoing. You need to set up some configuration to make lombok play nice with jigsaw (the JDK9 module system). The github issue about JDK9 support for Lombok has the details on how to set it up. + Support for JDK9, if you haven't modularized your own projects yet (no module-info.java yet), is included in lombok starting with version 1.16.20. Just use lombok as normal: javac -cp lombok.jar ... +

+ Support for JDK9 if you did modularize your own projects (you've written a module-info.java file) is available in the edge release. To use it, you can choose:

+ Both are equally effective. Note that you will have to add lombok to your module-info.java file:
+module myapp {
+	requires lombok;
+}
+

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

-- cgit