提交 74361b06 编写于 作者: A alanb

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

Reviewed-by: sundar
上级 19872600
......@@ -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=\
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册