@@ -279,7 +279,8 @@ contain whitespace characters. All content between the open quote and the
279
279
first matching close quote are preserved by simply removing the pair of quotes.
280
280
In case a matching quote is not found, the launcher will abort with an error
281
281
message. ` @ ` -files are supported as they are specified in the command line.
282
- However, as in ` @ ` -files, use of a wildcard is not supported. In order to
282
+ Any wildcard literal ` * ` in the ` JDK_JAVA_OPTIONS ` environment variable
283
+ content isn't expanded and is passed as-is to the starting VM. In order to
283
284
mitigate potential misuse of ` JDK_JAVA_OPTIONS ` behavior, options that specify
284
285
the main class (such as ` -jar ` ) or cause the ` java ` launcher to exit without
285
286
executing the main class (such as ` -h ` ) are disallowed in the environment
@@ -3073,9 +3074,9 @@ The following items describe the syntax of `java` argument files:
3073
3074
- The argument file size must not exceed MAXINT (2,147,483,647) bytes.
3074
3075
3075
3076
- The launcher doesn't expand wildcards that are present within an argument
3076
- file. That means, an asterisk ` * ` is passed on as-is to the starting VM.
3077
- For example ` *.java ` stays ` *.java ` and is not expanded to ` Foo.java ` ,
3078
- ` Bar.java ` , etc. like on some command line shell .
3077
+ file. That means an asterisk ( ` * ` ) is passed on as-is to the starting VM.
3078
+ For example ` *.java ` stays ` *.java ` and is not expanded to
3079
+ ` Foo.java Bar.java ... ` , as would happen with some command line shells .
3079
3080
3080
3081
- Use white space or new line characters to separate arguments included in
3081
3082
the file.
@@ -3118,8 +3119,6 @@ The following items describe the syntax of `java` argument files:
3118
3119
- An open quote stops at end-of-line unless ` \ ` is the last character, which
3119
3120
then joins the next line by removing all leading white space characters.
3120
3121
3121
- - Wildcards (\* ) aren't allowed in these lists (such as specifying ` *.java ` ).
3122
-
3123
3122
- Use of the at sign (` @ ` ) to recursively interpret files isn't supported.
3124
3123
3125
3124
### Example of Open or Partial Quotes in an Argument File
1 commit comments
openjdk-notifier[bot] commentedon Dec 5, 2024
Review
Issues