RFR: 8309670: java -help output for --module-path / -p is incomplete
Alan Bateman
alanb at openjdk.org
Tue Jun 20 14:55:13 UTC 2023
On Tue, 20 Jun 2023 13:54:15 GMT, Christian Stein <cstein at openjdk.org> wrote:
> Please review this update to `java`'s help output for `--module-path`/`-p`.
>
> This PR also updates the output for the closely related `--upgrade-module-path` option.
>
> Thanks in advance!
src/java.base/share/classes/sun/launcher/resources/launcher.properties line 55:
> 53: \ A {0} separated list of elements, each element is a file path\n\
> 54: \ to a module or a directory containing modules. Each module is either\n\
> 55: \ a modular JAR or an exploded-module directory.\n\
JEP 261 uses "module definition" but that would be too hard to explain in the help output, so I think what you have is okay.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14564#discussion_r1235391988
More information about the core-libs-dev
mailing list