RFR: 8372850: Update comment in SourceVersion for language evolution history for changes in 26 [v2]

Iris Clark iris at openjdk.org
Tue Dec 2 21:27:38 UTC 2025


On Tue, 2 Dec 2025 18:23:40 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Include source-level comments about per-release language changes, or lack thereof.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Respond to review feedback.

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

> 87:      *      third preview)
> 88:      *  26: no changes (primitive Types in Patterns, instanceof, and
> 89:      *      switch in second preview in fourth preview)

I think you want to drop the "in second preview".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28594#discussion_r2582822973


More information about the compiler-dev mailing list