hg: amber/amber: the compiler should not enforce a modifier on subclasses of non-sealed classes

vicente.romero at oracle.com vicente.romero at oracle.com
Thu Feb 6 05:26:14 UTC 2020


Changeset: 3d518ea9b6c8
Author:    vromero
Date:      2020-02-06 00:24 -0500
URL:       https://hg.openjdk.java.net/amber/amber/rev/3d518ea9b6c8

the compiler should not enforce a modifier on subclasses of non-sealed classes

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



More information about the amber-dev mailing list