git: openjdk/jdk: master: 8347530: Improve error message with invalid permits clauses

Aggelos Biboudis abimpoudis at openjdk.org
Wed May 21 06:45:29 UTC 2025


Changeset: 50a7755f
Branch: master
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Date:      2025-05-21 06:44:54 +0000
URL:       https://git.openjdk.org/jdk/commit/50a7755fa45529966373b58652c15975157ab846

8347530: Improve error message with invalid permits clauses

Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/langtools/tools/javac/T8347530.java
+ test/langtools/tools/javac/T8347530.out
+ test/langtools/tools/javac/diags/examples/SubtypeDoesntImplementSealed.java
! test/langtools/tools/javac/sealed/SealedDiffConfigurationsTest.java
! test/langtools/tools/javac/sealed/erroneous_hierarchy/CyclicHierarchyTest.out



More information about the jdk-changes mailing list