[jdk21u-dev] RFR: 8322477: order of subclasses in the permits clause can differ between compilations [v2]
Goetz Lindenmaier
goetz at openjdk.org
Mon Mar 4 17:18:16 UTC 2024
On Mon, 4 Mar 2024 16:45:45 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix indentation.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 5495:
>
>> 5493: if (!c.type.isCompound()) {
>> 5494: for (ClassSymbol supertypeSym : sealedSupers) {
>> 5495: if (!supertypeSym.isPermittedSubclass(c.type.tsym)) {
>
> Indentation is off by one.
Thanks for the review. Fixed.
-------------
PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/310#discussion_r1511505583
More information about the jdk-updates-dev
mailing list