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 6bc1dab1f8a..46d1a2cf9c9 100644 --- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java +++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2025, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -82,7 +82,7 @@ public enum SourceVersion { * preview, simple source files and instance main in fourth * preview, flexible constructor bodies in third preview) * 25: module import declarations, compact source files and - * instance main methods, + * instance main methods, and flexible constructor bodies */ /** @@ -451,8 +451,9 @@ public enum SourceVersion { * The version introduced by the Java Platform, Standard Edition * 25. * - * Additions in this release include module import declarations - * and compact source files and instance main methods. + * Additions in this release include module import declarations, + * compact source files and instance main methods, and flexible + * constructor bodies. * * @since 25 * @@ -463,6 +464,8 @@ public enum SourceVersion { * JEP 511: Module Import Declarations * @see * JEP 512: Compact Source Files and Instance Main Methods + * @see + * JEP 513: Flexible Constructor Bodies */ RELEASE_25, ; // Reduce code churn when appending new constants