[jdk21u-dev] RFR: 8322477: order of subclasses in the permits clause can differ between compilations
Goetz Lindenmaier
goetz at openjdk.org
Mon Mar 4 10:27:56 UTC 2024
On Fri, 1 Mar 2024 15:36:14 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this for parity with 21.0.4-oracle.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
> I had to resolve because indentation is different. Changed coding is the same.
Hi,
yes, JDK-8319987 might make Types.java clean.
in Attr.java, the indentation was changed by https://bugs.openjdk.org/browse/JDK-8316470: Incorrect error location for "invalid permits clause" depending on file order.
I don't think we should backport all dependencies just to avoid trivial conflicts. I chose this one to keep track with Oracle.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/310#issuecomment-1976253165
More information about the jdk-updates-dev
mailing list