hg: amber/amber: sealed: only infer the permits clause inside the same CU

vicente.romero at oracle.com vicente.romero at oracle.com
Tue Oct 1 22:29:40 UTC 2019


Changeset: 4a89d252a4ef
Author:    vromero
Date:      2019-10-01 18:28 -0400
URL:       https://hg.openjdk.java.net/amber/amber/rev/4a89d252a4ef

sealed: only infer the permits clause inside the same CU

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! test/langtools/tools/javac/sealed/CheckSubtypesOfSealedTest.java
! test/langtools/tools/javac/sealed/CheckingAttributeAtRuntimeTest.java
! test/langtools/tools/javac/sealed/SealedCompilationTests.java
! test/langtools/tools/javac/sealed/SealedDiffConfigurationsTest.java
! test/langtools/tools/javac/sealed/annotations/AnnotationProcessorOnSealedTypesTest.java
- test/langtools/tools/javac/sealed/sealedExtensionNeg/SealedExtensionNegTest.java



More information about the amber-dev mailing list