From 4e1542fc5e55eaa4074da97898b67a2758c90aca Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Sat, 26 Jul 2025 11:59:50 +0200 Subject: [PATCH] [jdk25] Add new modifier flag for sealed classes --- src/utils/lombok/javac/Javac.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/lombok/javac/Javac.java b/src/utils/lombok/javac/Javac.java index 22edcd05..ed9fc3ab 100644 --- a/src/utils/lombok/javac/Javac.java +++ b/src/utils/lombok/javac/Javac.java @@ -82,7 +82,7 @@ public class Javac { public static final long COMPACT_RECORD_CONSTRUCTOR = 1L << 51; // MethodSymbols (the 'implicit' many-args constructor that records have) public static final long UNINITIALIZED_FIELD = 1L << 51; // VarSymbols (To identify fields that the compact record constructor won't initialize) public static final long GENERATED_MEMBER = 1L << 24; // MethodSymbols, VarSymbols (marks methods and the constructor generated in records) - public static final long SEALED = 1L << 62; // ClassSymbols (Flag to indicate sealed class/interface declaration) + public static final long SEALED = 1L << 62 | 1L << 48; // ClassSymbols (Flag to indicate sealed class/interface declaration) public static final long NON_SEALED = 1L << 63; // ClassSymbols (Flag to indicate that the class/interface was declared with the non-sealed modifier) /**