aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-02-07 00:49:23 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-02-07 00:49:23 +0100
commit45967c522eca156bf0eeae14ebd9f466d23bd470 (patch)
treeaaa2b29e3ea630d3a5ffcff835e4c09f474c6222
parent42961e8921cd98f688252eedc68cbe0baa0496ea (diff)
downloadlombok-45967c522eca156bf0eeae14ebd9f466d23bd470.tar.gz
lombok-45967c522eca156bf0eeae14ebd9f466d23bd470.tar.bz2
lombok-45967c522eca156bf0eeae14ebd9f466d23bd470.zip
[trivial] updated comment and slight tweak to website text.
-rw-r--r--build.xml2
-rw-r--r--website/templates/setup/javac.html7
2 files changed, 3 insertions, 6 deletions
diff --git a/build.xml b/build.xml
index 3a8d6c14..14d67ffc 100644
--- a/build.xml
+++ b/build.xml
@@ -221,7 +221,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<ivy:compile destdir="build/lombok" source="1.9" target="1.9">
<compilerarg value="-Xlint:none" />
- <!-- The above is because javac9 whines about 'service interface provided but not exported or used' for some unfathomable reason. -->
+ <!-- The above is because javac9 warns about 'service interface provided but not exported or used', probably because lombok uses SPI internally, and uses the 'old' classpath discovery system for it. We're fine with this, hence, ignore this warning. -->
<src path="src/core9" />
<src path="src/j9stubs" />
<!-- This includes org.mapstruct.ap.spi.AstModifyingAnnotationProcessor; putting this on the classpath doesn't work (needs to be internal or a module) so we just add it and then delete the class file for convenience. -->
diff --git a/website/templates/setup/javac.html b/website/templates/setup/javac.html
index f90cb727..48b0ebcf 100644
--- a/website/templates/setup/javac.html
+++ b/website/templates/setup/javac.html
@@ -11,11 +11,8 @@
<p>
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>
+ 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: <code>javac -cp lombok.jar -p lombok.jar ...</code><br />
+ Note that you will have to add lombok to your <code>module-info.java</code> file:<pre>
module <em>myapp</em> {
requires static lombok;
}</pre>