RFR: JDK12 doc-only JDK-8210561: Command-line help wrong for javac --module

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jan 11 19:18:30 UTC 2019


Please review a small doc-only fix in a resource file for the javac 
command-line help for --module.

Patch is inline, here:


$ hg diff
diff -r fbc921683f02 
src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
--- 
a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties 
Fri Jan 11 13:34:57 2019 +0100
+++ 
b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties 
Fri Jan 11 11:16:54 2019 -0800
@@ -44,7 +44,7 @@
  javac.opt.sourcepath=\
      Specify where to find input source files
  javac.opt.m=\
-    Compile only the specified module, check timestamps
+    Compile only the specified module(s), check timestamps
  javac.opt.modulesourcepath=\
      Specify where to find input source files for multiple modules
  javac.opt.bootclasspath=\
@@ -108,7 +108,7 @@
  javac.opt.arg.mspath=\
      <module-source-path>
  javac.opt.arg.m=\
-    <module-name>
+    <module>(,<module>)*
  javac.opt.arg.jdk=\
      <jdk>|none
  javac.opt.arg.dirs=\


-- Jon


JBS: https://bugs.openjdk.java.net/browse/JDK-8210561
CSR:https://bugs.openjdk.java.net/browse/JDK-8216402



More information about the compiler-dev mailing list