From 1f206e5e1268cd0a7f477ed2d2f49103b8a99db6 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Wed, 3 Dec 2025 00:27:42 +0000 Subject: [PATCH] 8372850: Update comment in SourceVersion for language evolution history for changes in 26 Reviewed-by: liach --- .../share/classes/javax/lang/model/SourceVersion.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java index 1a46df64ffb..e21e9e1db9a 100644 --- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java +++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java @@ -83,6 +83,10 @@ public enum SourceVersion { * preview, flexible constructor bodies in third preview) * 25: module import declarations, compact source files and * instance main methods, and flexible constructor bodies + * (primitive Types in Patterns, instanceof, and switch in + * third preview) + * 26: no changes (primitive Types in Patterns, instanceof, and + * switch in in fourth preview) */ /**