Skip to content

Commit 24d84cf

Browse files
committed
8354091: Update RELEASE_25 description for Flexible Constructor Bodies
Reviewed-by: iris, liach, vromero
1 parent 1e8927d commit 24d84cf

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/java.compiler/share/classes/javax/lang/model/SourceVersion.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -82,7 +82,7 @@ public enum SourceVersion {
8282
* preview, simple source files and instance main in fourth
8383
* preview, flexible constructor bodies in third preview)
8484
* 25: module import declarations, compact source files and
85-
* instance main methods,
85+
* instance main methods, and flexible constructor bodies
8686
*/
8787

8888
/**
@@ -451,8 +451,9 @@ public enum SourceVersion {
451451
* The version introduced by the Java Platform, Standard Edition
452452
* 25.
453453
*
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.
456457
*
457458
* @since 25
458459
*
@@ -463,6 +464,8 @@ public enum SourceVersion {
463464
* JEP 511: Module Import Declarations</a>
464465
* @see <a href="https://openjdk.org/jeps/512">
465466
* 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>
466469
*/
467470
RELEASE_25,
468471
; // Reduce code churn when appending new constants

0 commit comments

Comments
 (0)