git: openjdk/jdk: master: 8361570: Incorrect 'sealed is not allowed here' compile-time error

Jan Lahoda jlahoda at openjdk.org
Tue Jul 8 14:36:57 UTC 2025


Changeset: 85331943
Branch: master
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2025-07-08 14:33:14 +0000
URL:       https://git.openjdk.org/jdk/commit/853319439e7887ddd54f8c4a3d79aa62ec51fd64

8361570: Incorrect 'sealed is not allowed here' compile-time error

Reviewed-by: mcimadamore, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
+ test/langtools/tools/javac/flags/ExtendedStandardFlagsOverlayFlagsConflict.java
+ test/langtools/tools/javac/flags/NoFalseSealedError.java
! test/langtools/tools/javac/platform/RequiresIdentityTest.java



More information about the jdk-changes mailing list