Looks good.

-Sundar

On 04/06/19, 9:30 AM, Mandy Chung wrote:
The launcher prints out the error message when the main class fails to
initialize but java.launcher.module.error5 resource that intends to
print the Caused-by exception message when running in a named module
but prints an incorrect parameter.

Very simple fix - fix the resource param indices.  Also fix a
typo: "module module <module-name>" in the output.

http://cr.openjdk.java.net/~mchung/jdk13/webrevs/8221368/webrev.00/

The error message when the main class is in an unnamed module
is printed properly and covered by an existing test
(test/jdk/tools/launcher/MainClassCantBeLoadedTest.java).

thanks
Mandy

Reply via email to