src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
changeset 55027 adb2493b120e
parent 55021 d84176dd57b0
child 55263 830ca7b43b95
child 58678 9cf78a70fa4f
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Thu May 23 12:36:54 2019 +0530
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties	Fri May 24 12:25:18 2019 +0200
@@ -3301,7 +3301,8 @@
     module name in {0} option not found: {1}
 
 compiler.err.addmods.all.module.path.invalid=\
-    --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module
+    --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module or \
+    when compiling in the context of an automatic module
 
 # 0: symbol
 compiler.err.add.exports.with.release=\