aboutsummaryrefslogtreecommitdiff
path: root/website/templates/setup
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-02-06 06:17:28 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-02-06 06:20:44 +0100
commitbb95ad218d29a9f5b1011b7c7b919ed41337a00b (patch)
tree53851eb731de14fdbb499b19c14227c68944d5e6 /website/templates/setup
parentb6f17ef81acdff9896a8e2b2eced40223491ed4e (diff)
downloadlombok-bb95ad218d29a9f5b1011b7c7b919ed41337a00b.tar.gz
lombok-bb95ad218d29a9f5b1011b7c7b919ed41337a00b.tar.bz2
lombok-bb95ad218d29a9f5b1011b7c7b919ed41337a00b.zip
[website] Updated docs for JDK9 module-info support.
Diffstat (limited to 'website/templates/setup')
-rw-r--r--website/templates/setup/javac.html13
1 files changed, 12 insertions, 1 deletions
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">
<p>
- Support for JDK9 is ongoing. You need to set up some configuration to make lombok play nice with jigsaw (the JDK9 module system). The <a href="https://github.com/rzwitserloot/lombok/issues/985">github issue about JDK9 support for Lombok</a> has the details on how to set it up.
+ Support for JDK9, if you haven't modularized your own projects yet (no <code>module-info.java</code> yet), is included in lombok starting with version 1.16.20. Just use lombok as normal: <code> javac -cp lombok.jar ...</code>
+ </p><p>
+ Support for JDK9 if you did modularize your own projects (you've written a <code>module-info.java</code> file) is available in the <a href="/download-edge">edge release</a>. To use it, you can choose:<ul>
+ <li><code>javac --processor-module-path lombok.jar -p lombok.jar ...</code></li>
+ <li><code>javac -cp lombok.jar -p lombok.jar ...</code></li>
+ </ul>
+ Both are equally effective. Note that you will have to add lombok to your <code>module-info.java</code> file:<pre>
+module <em>myapp</em> {
+ requires lombok;
+}</pre>
+ </p><p>
+ Feedback about JDK9 module-info support can be given at <a href="https://github.com/rzwitserloot/lombok/issues/985">github issue #985</a>.
</p>
</@s.section>
</@s.scaffold>