> Please review this change, thanks!
> 
> **Description:**
> 
> `java -XshowSettings` without an application currently prints the requested 
> settings, then prints usage information and exits with code 1.
> 
> **Solution:**
> 
> Treat `-XshowSettings` as an option that can be used without an application 
> target. During argument parsing, do not mark the absence of a main class or 
> JAR file as an error when `-XshowSettings` is specified. After the settings 
> and any explicitly requested launcher output have been processed, exit 
> normally if no application was provided.
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Guanqiang Han has updated the pull request incrementally with one additional 
commit since the last revision:

  Update -XshowSettings documentation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/31891/files
  - new: https://git.openjdk.org/jdk/pull/31891/files/f00b9309..a0a7bec2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=31891&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31891&range=00-01

  Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/31891.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31891/head:pull/31891

PR: https://git.openjdk.org/jdk/pull/31891

Reply via email to