From 5cb0d438231383d491b2fcca455d09af7f2ee016 Mon Sep 17 00:00:00 2001 From: Christian Stein Date: Mon, 18 Nov 2024 21:49:36 +0000 Subject: [PATCH] 8293040: Argfile documentation for java launcher tool is confusing regarding usage of wildcards Reviewed-by: liach --- src/java.base/share/man/java.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java.base/share/man/java.md b/src/java.base/share/man/java.md index f79e55622cd..5f1f9d8ef45 100644 --- a/src/java.base/share/man/java.md +++ b/src/java.base/share/man/java.md @@ -3073,7 +3073,9 @@ The following items describe the syntax of `java` argument files: - The argument file size must not exceed MAXINT (2,147,483,647) bytes. - The launcher doesn't expand wildcards that are present within an argument - file. + file. That means, an asterisk `*` is passed on as-is to the starting VM. + For example `*.java` stays `*.java` and is not expanded to `Foo.java`, + `Bar.java`, etc. like on some command line shell. - Use white space or new line characters to separate arguments included in the file.