diff --git a/docs/manual/CoreTasks/javac.html b/docs/manual/CoreTasks/javac.html
index c059cc349..5aabb1b7b 100644
--- a/docs/manual/CoreTasks/javac.html
+++ b/docs/manual/CoreTasks/javac.html
@@ -564,11 +564,11 @@ the non-example files refers to them.
If you wish to compile with a special JDK (another than the one Ant is currently using),
set the executable
and fork
attribute. Using taskname
could show in the log, that these settings are fix.
-
<javac srcdir="." - destdir="." - executable="path-to-java14-home/bin/javac" - fork="true" - taskname="javac1.4" />+
<javac srcdir="" + destdir="" + executable="path-to-java14-home/bin/javac" + fork="true" + taskname="javac1.4" />@@ -576,6 +576,18 @@ could show in the log, that these settings are fix. for every use of an external compiler, this may be a problem of the JDK you are using. This problem may occur with all JDKs < 1.2. + +
+If you want to activate other compiler options like lint you could use +the <compilerarg> element: +
<javac srcdir="${src.dir}" + destdir="${classes.dir}" + classpathref="libraries"> + <compilerarg value="-Xlint"/> + </javac>+ + +
You need Jikes 1.15 or later.