RFR: 8340399: Update comment in SourceVersion for language evolution history

Chen Liang liach at openjdk.org
Thu Sep 19 17:14:42 UTC 2024


On Wed, 18 Sep 2024 16:49:26 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Update comment in include recent language evolution.

src/java.compiler/share/classes/javax/lang/model/SourceVersion.java line 77:

> 75:      *      declared classes and instance main methods in second preview)
> 76:      *  23: no changes (primitive Types in Patterns, instanceof, and
> 77:      *      switch in preview, module Import Declarations in preview,

Suggestion:

     *  23: no changes (primitive types in patterns, instanceof, and
     *      switch in preview, module import declarations in preview,

We want all lowercase like for 21, don't we?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21068#discussion_r1767276191


More information about the compiler-dev mailing list