From bb95ad218d29a9f5b1011b7c7b919ed41337a00b Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot
- 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
+ Support for JDK9 if you did modularize your own projects (you've written a module-info.java
yet), is included in lombok starting with version 1.16.20. Just use lombok as normal: javac -cp lombok.jar ...
+ 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 javac --processor-module-path lombok.jar -p lombok.jar ...
javac -cp lombok.jar -p lombok.jar ...
module-info.java
file:
+module myapp {
+ requires lombok;
+}
+
+ Feedback about JDK9 module-info support can be given at github issue #985.
@s.section> @s.scaffold> -- cgit