RFR: 8293040: Argfile documentation for java launcher tool is confusing regarding usage of wildcards

Jaikiran Pai jpai at openjdk.org
Tue Nov 19 06:28:47 UTC 2024


On Tue, 19 Nov 2024 06:13:04 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> src/java.base/share/man/java.md line 3079:
>> 
>>> 3077:     For example `*.java` stays `*.java` and is not expanded to `Foo.java`,
>>> 3078:     `Bar.java`, etc. like on some command line shell.
>>> 3079: 
>> 
>> This expansion now seems to be in conflict with the later statement:
>> 
>> Wildcards (*) aren't allowed in these lists (such as specifying *.java).
>> 
>> ?? To be honest I'm not sure what that later statement is actually trying to say.
>
> Never mind I see now this was already flagged.

I think that sentence was trying to convey that the "wildcard literal `*` will be treated literally and the launcher will not attempt to expand it". I think this sentence can be removed altogether, given that this semantic is already explained a few sentences above by the change in this PR.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22208#discussion_r1847709737


More information about the core-libs-dev mailing list