git: openjdk/jdk: 8294550: Sealed check for casts isn't applied to array components

Jan Lahoda jlahoda at openjdk.org
Thu Oct 20 13:02:28 UTC 2022


Changeset: 78dc4977
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2022-10-20 13:01:12 +0000
URL:       https://git.openjdk.org/jdk/commit/78dc4977863a92f990b355f6b4d2609a674ab19b

8294550: Sealed check for casts isn't applied to array components

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! test/langtools/tools/javac/sealed/SealedCompilationTests.java



More information about the jdk-changes mailing list