From d34da710c3e1cfff58debbb33240c6387bfa243a Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot
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: javac -cp lombok.jar -p lombok.jar ...
+ Support for JDK9 if you did modularize your own projects (you've written a module-info.java
file):javac -cp lombok.jar -p lombok.jar ...
Note that you will have to add lombok to your module-info.java
file:
module myapp {
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.
@s.section> @s.scaffold> -- cgit