Integrated: 8266239: Some duplicated javac command-line options have repeated effect

Guoxiong Li gli at openjdk.java.net
Fri Sep 3 09:36:30 UTC 2021


On Fri, 28 May 2021 12:29:45 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all,
> 
> Some duplicated info options (`--version`, `--help`, `--help-extra`, `--help-lint`, `--full-version`) have repeated effect. Please see the following example.
> 
> 
> $ javac -version -version
> javac 17-internal
> javac 17-internal
> 
> 
> The patch fixes it and adds a corresponding test case.
> Thank you for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

This pull request has now been integrated.

Changeset: d05494f9
Author:    Guoxiong Li <gli at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d05494f98bad351532cdb769c9da6b6e2359b16e
Stats:     41 lines in 3 files changed: 39 ins; 0 del; 2 mod

8266239: Some duplicated javac command-line options have repeated effect

Reviewed-by: vromero

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

PR: https://git.openjdk.java.net/jdk/pull/4244


More information about the compiler-dev mailing list