RFR: 8340133: Add concise usage message to the java executable [v7]

Jan Lahoda jlahoda at openjdk.org
Mon Nov 18 16:00:53 UTC 2024


On Tue, 12 Nov 2024 15:34:16 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>>> @AlanBateman I'd like to respectfully disagree that this was an improvement. If consistency was the important objection here, maybe it would have been better to update "java -help" to include the .jar?
>> 
>> I assume your disagreement is with Jan's latest update rather than my comment. My comment was just pointing out that it's confusing to use `-jar <jarfile>.jar` in one case and `-jar <jarfile>` in the other.
>
> So, just to double-check: given the request is to make the helps consistent, and dropping the extensions from the concise help is not what was meant, I'll add the extensions both here and to the ordinary help. Correct?

Done here:
https://github.com/openjdk/jdk/pull/21411/commits/d4860961e2ff7e6218a16a2ed3990a0deba3ae1a

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21411#discussion_r1846850656


More information about the core-libs-dev mailing list