RFR: JDK-8304036: Use CommandLine class from shared module [v2]
Christian Stein
cstein at openjdk.org
Sat Apr 22 11:42:58 UTC 2023
On Fri, 21 Apr 2023 21:42:58 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Christian Stein has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - Merge branch 'openjdk:master' into JDK-8304036-reusable-command-line-part-2
>> - Add missing import
>> - JDK-8304036: Use CommandLine class from shared module
>
> src/jdk.internal.opt/share/classes/module-info.java line 33:
>
>> 31: module jdk.internal.opt {
>> 32: exports jdk.internal.joptsimple to jdk.jlink, jdk.jshell;
>> 33: exports jdk.internal.opt to jdk.compiler, jdk.jartool, jdk.javadoc, jdk.jlink, jdk.jpackage;
>
> Nit: line break at each module is easier to read and avoid long line like:
> https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/module-info.java#L149
Yes, that's much nicer. Will reflow all other export directives as well.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/12997#discussion_r1174387317
More information about the compiler-dev
mailing list