RFR: 8026369: javac potentially ambiguous overload warning needs an improved scheme [v3]
Archie L. Cobbs
duke at openjdk.org
Fri Feb 24 18:09:18 UTC 2023
On Fri, 24 Feb 2023 18:01:56 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> Archie L. Cobbs has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove placeholder flag UNUSED_1; just leave a comment instead.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java line 2713:
>
>> 2711: * overloads are IntConsumer and Consumer<? super Integer>). So we only want
>> 2712: * to "blame" a class when that class is itself responsible for creating the
>> 2713: * ambiguity. So we declare that site is "responsible" for the ambigutity between
>
> typo: ambigutity -> ambiguity
Thanks - fixed.
-------------
PR: https://git.openjdk.org/jdk/pull/12645
More information about the compiler-dev
mailing list