From 74361b06cb00d8c28e97dc5e55d21137662936da Mon Sep 17 00:00:00 2001 From: alanb Date: Thu, 15 Feb 2018 14:44:14 +0000 Subject: [PATCH] 8193819: Error message when module does not have a ModuleMainClass attribute is confusing Reviewed-by: sundar --- .../share/classes/sun/launcher/resources/launcher.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java.base/share/classes/sun/launcher/resources/launcher.properties b/src/java.base/share/classes/sun/launcher/resources/launcher.properties index d12ad378bf..88317fbcb3 100644 --- a/src/java.base/share/classes/sun/launcher/resources/launcher.properties +++ b/src/java.base/share/classes/sun/launcher/resources/launcher.properties @@ -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 {0} does not have a ModuleMainClass attribute, use -m / java.launcher.module.error2=\ Error: Could not find or load main class {0} in module {1} java.launcher.module.error3=\ -- GitLab