On Mon, 11 Nov 2024 14:25:57 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> src/java.base/share/classes/sun/launcher/LauncherHelper.java line 598: >> >>> 596: static void printConciseUsageMessage(boolean printToStderr) { >>> 597: initOutput(printToStderr); >>> 598: >>> ostream.println(SharedSecrets.getJavaLangAccess().shortVersionString()); >> >> What is the reason for printing the short version string at the start of the >> short usage message? > > In passing, it may be better to pick "short" or "concise", right now it's a > mix in the method and resource keys. The idea behind printing the short version is to identify what tool is speaking. It can be removed, if desired. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21411#discussion_r1838074640