changeset 48902:dfa46cfe5634 jdk-11+1

8193819: Error message when module does not have a ModuleMainClass attribute is confusing Reviewed-by: sundar
author alanb
date Thu, 15 Feb 2018 14:44:14 +0000
parents 929de4bd8a12
children d9fce53461a1 88ec3e959c05
files src/java.base/share/classes/sun/launcher/resources/launcher.properties
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/sun/launcher/resources/launcher.properties	Thu Feb 15 13:37:20 2018 +0000
+++ b/src/java.base/share/classes/sun/launcher/resources/launcher.properties	Thu Feb 15 14:44:14 2018 +0000
@@ -220,7 +220,7 @@
     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=\