On Tue, 12 Nov 2024 15:30:23 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> `shortVersionString` changed to `conciseVersionString` in: >> https://github.com/openjdk/jdk/pull/21411/commits/e9e9ad4bdd0a11244cb1ef84fdeea036e94718c7 > >> The idea behind printing the short version is to identify what tool is >> speaking. It can be removed, if desired. > > It may be helpful to some but may be confusing in other cases, esp. because > it may include "LTS" in the output. So I think maybe drop this for now, or > get wider input on print the version string as the first line, it can always > be added later if needed. I hadn't paid attention to the version string in the output for `java` (without args). I agree with Alan that it might be better to remove that from the output so that it matches with `java -help` which doesn't print it. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21411#discussion_r1847941376