[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-compiler-dev
Subject:    RFR: 8266239: Some duplicated javac command-line options have repeated effect
From:       Guoxiong Li <gli () openjdk ! java ! net>
Date:       2021-05-28 12:36:27
Message-ID: UJabUDvvY1kArtsHt37QwftXns9v2rtOFCIw4TCIxuE=.42a6643e-5385-42ed-b4f7-f91e8880a914 () github ! com
[Download RAW message or body]

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

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

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

Changes: https://git.openjdk.java.net/jdk/pull/4244/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4244&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266239
  Stats: 41 lines in 3 files changed: 39 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4244.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4244/head:pull/4244

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic