8193819: Error message when module does not have a ModuleMainClass attribute is confusing

Reviewed-by: sundar
This commit is contained in:
Alan Bateman 2018-02-15 14:44:14 +00:00
parent fc3364785a
commit 0b78370b74

View File

@ -220,7 +220,7 @@ java.launcher.javafx.error1=\
Error: The JavaFX launchApplication method has the wrong signature, it\n\
must be declared static and return a value of type void
java.launcher.module.error1=\
module {0} does not have a MainClass attribute, use -m <module>/<main-class>
module {0} does not have a ModuleMainClass attribute, use -m <module>/<main-class>
java.launcher.module.error2=\
Error: Could not find or load main class {0} in module {1}
java.launcher.module.error3=\