-
Sub-task
-
Resolution: Fixed
-
P2
-
26
-
None
The fix does not handle command-lines with comma-seperated arguments, resulting in the following during the build:
[2025-09-05T18:11:53,343Z] Usage: java [java options...] <application> [application arguments...]
[2025-09-05T18:11:53,343Z]
[2025-09-05T18:11:53,343Z] Where <application> is one of:
[2025-09-05T18:11:53,343Z] <mainclass> to execute the main method of a compiled main class
[2025-09-05T18:11:53,343Z] -jar <jarfile>.jar to execute the main class of a JAR archive
[2025-09-05T18:11:53,343Z] -m <module>[/<mainclass>] to execute the main class of a module
[2025-09-05T18:11:53,343Z] <sourcefile>.java to compile and execute a source-file program
[2025-09-05T18:11:53,343Z]
[2025-09-05T18:11:53,343Z] Where key java options include:
[2025-09-05T18:11:53,343Z] --class-path <class path>
[2025-09-05T18:11:53,343Z] where <class path> is a list of directories and JAR archives to search for class files, separated by ":"
[2025-09-05T18:11:53,343Z] --module-path <module path>
[2025-09-05T18:11:53,343Z] where <module path> is a list of directories and JAR archives to search for modules, separated by ":"
[2025-09-05T18:11:53,343Z] -version
[2025-09-05T18:11:53,343Z] to print product version to the error stream and exit
[2025-09-05T18:11:53,343Z]
[2025-09-05T18:11:53,343Z] For additional help on usage: java --help
[2025-09-05T18:11:53,343Z] For an interactive Java environment: jshell
[2025-09-05T18:11:53,343Z] Usage: java [java options...] <application> [application arguments...]
[2025-09-05T18:11:53,343Z]
[2025-09-05T18:11:53,343Z] Where <application> is one of:
[2025-09-05T18:11:53,343Z] <mainclass> to execute the main method of a compiled main class
[2025-09-05T18:11:53,343Z] -jar <jarfile>.jar to execute the main class of a JAR archive
[2025-09-05T18:11:53,343Z] -m <module>[/<mainclass>] to execute the main class of a module
[2025-09-05T18:11:53,343Z] <sourcefile>.java to compile and execute a source-file program
[2025-09-05T18:11:53,343Z]
[2025-09-05T18:11:53,343Z] Where key java options include:
[2025-09-05T18:11:53,343Z] --class-path <class path>
[2025-09-05T18:11:53,343Z] where <class path> is a list of directories and JAR archives to search for class files, separated by ":"
[2025-09-05T18:11:53,343Z] --module-path <module path>
[2025-09-05T18:11:53,343Z] where <module path> is a list of directories and JAR archives to search for modules, separated by ":"
[2025-09-05T18:11:53,343Z] -version
[2025-09-05T18:11:53,343Z] to print product version to the error stream and exit
[2025-09-05T18:11:53,343Z]
[2025-09-05T18:11:53,343Z] For additional help on usage: java --help
[2025-09-05T18:11:53,343Z] For an interactive Java environment: jshell
- links to
-
Commit(master) openjdk/jdk/6bb15a54
-
Review(master) openjdk/jdk/27132