git: openjdk/jdk: 8266645: javac should not check for sealed supertypes in intersection types

Vicente Romero vromero at openjdk.java.net
Fri May 7 14:39:22 UTC 2021


Changeset: 946b0fe1
Author:    Vicente Romero <vromero at openjdk.org>
Date:      2021-05-07 14:38:18 +0000
URL:       https://git.openjdk.java.net/jdk/commit/946b0fe19a8af88a0f0451c86ce4d4790360bb83

8266645: javac should not check for sealed supertypes in intersection types

Reviewed-by: mcimadamore

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



More information about the jdk-changes mailing list