RFR: 8347530: Improve error message with invalid permits clauses [v2]
Aggelos Biboudis
abimpoudis at openjdk.org
Fri May 16 12:45:53 UTC 2025
On Fri, 16 May 2025 12:40:33 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
>> Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Address review
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 5474:
>
>> 5472: .anyMatch(d -> d.tsym == c);
>> 5473: if (!thisIsASuper) {
>> 5474: KindName subtypingLeftKind;
>
> I wonder, would: `KindName.kindName(subType.tsym)` work?
Indeed and I updated the PR. Thanks @lahodaj
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25255#discussion_r2092974831
More information about the compiler-dev
mailing list