RFR: 8340133: Investigate if the java launcher could give hints about JShell [v3]
Jan Lahoda
jlahoda at openjdk.org
Mon Oct 21 10:06:57 UTC 2024
On Fri, 18 Oct 2024 14:11:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Adjusting the concise help as suggested: 'using main class of a JAR archive' and '<JarFile>.jar'/'<SourceFile>.java'
>
> src/java.base/share/classes/sun/launcher/resources/launcher.properties line 240:
>
>> 238: \ <MainClass> to execute the main method of a compiled class\n\
>> 239: \ -jar <JarFile>.jar to execute the main class of a JAR archive\n\
>> 240: \ -m <module>[/<MainClass>] to execute the main class of a module\n\
>
> Did you mean to use capitals here? It will look different to the `--help` output where we consistently use all lowercase.
Thanks, using lower case here:
https://github.com/openjdk/jdk/pull/21411/commits/5d82312f794359aeb34d76a0ce036facf353a5ef
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21411#discussion_r1808471450
More information about the core-libs-dev
mailing list