--- 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=\