hg: jdk/jdk: 8246486: javac doesn't allow a subclass to be declared before a sealed superclass with no permits clause
vicente.romero at oracle.com
vicente.romero at oracle.com
Thu Jun 4 23:03:18 UTC 2020
Changeset: 68c7589dc049
Author: vromero
Date: 2020-06-04 19:02 -0400
URL: https://hg.openjdk.java.net/jdk/jdk/rev/68c7589dc049
8246486: javac doesn't allow a subclass to be declared before a sealed superclass with no permits clause
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! test/langtools/lib/combo/tools/javac/combo/CompilationTestCase.java
! test/langtools/tools/javac/enum/FauxEnum3.java
! test/langtools/tools/javac/enum/FauxEnum3.out
- test/langtools/tools/javac/enum/FauxEnum3.preview.out
! test/langtools/tools/javac/sealed/SealedCompilationTests.java
More information about the jdk-all-changes
mailing list