JDK 12 points to outdated javac documentation

Christian Stein sormuras at gmail.com
Mon May 6 10:20:10 UTC 2019


Hi!

The "Tool & command reference" link on [1] points
to an outdated version (perhaps some 12-ea build) of
JDK 12 at [2].

It reads at [2]:
___

  --module module-name or -m module-name
        Compiles only the specified module and checks time stamps.
___

but already "javac" from 12+32 (RI) reports at the command line:
___

  --module <module>(,<module>)*, -m <module>(,<module>)*
        Compile only the specified module(s), check timestamps
___

Same goes for the current 12.0.1+12 build of "javac".

Cheers,
Christian

[1] https://jdk.java.net/12/
[2] https://docs.oracle.com/en/java/javase/12/tools/javac.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/web-discuss/attachments/20190506/4cb151e3/attachment.html>


More information about the web-discuss mailing list