1
1
/*
2
- * Copyright (c) 2005, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2005, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -82,7 +82,7 @@ public enum SourceVersion {
82
82
* preview, simple source files and instance main in fourth
83
83
* preview, flexible constructor bodies in third preview)
84
84
* 25: module import declarations, compact source files and
85
- * instance main methods,
85
+ * instance main methods, and flexible constructor bodies
86
86
*/
87
87
88
88
/**
@@ -451,8 +451,9 @@ public enum SourceVersion {
451
451
* The version introduced by the Java Platform, Standard Edition
452
452
* 25.
453
453
*
454
- * Additions in this release include module import declarations
455
- * and compact source files and instance main methods.
454
+ * Additions in this release include module import declarations,
455
+ * compact source files and instance main methods, and flexible
456
+ * constructor bodies.
456
457
*
457
458
* @since 25
458
459
*
@@ -463,6 +464,8 @@ public enum SourceVersion {
463
464
* JEP 511: Module Import Declarations</a>
464
465
* @see <a href="https://openjdk.org/jeps/512">
465
466
* JEP 512: Compact Source Files and Instance Main Methods</a>
467
+ * @see <a href="https://openjdk.org/jeps/513">
468
+ * JEP 513: Flexible Constructor Bodies</a>
466
469
*/
467
470
RELEASE_25 ,
468
471
; // Reduce code churn when appending new constants
0 commit comments