RFR: JDK-8276772: Refine javax.lang.model docs

Vicente Romero vromero at openjdk.java.net
Mon Nov 8 17:11:38 UTC 2021


On Fri, 5 Nov 2021 23:49:50 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Pass over javax.lang.model docs for some minor cleanups and improvements.
> 
> Before pushing, I'll do any needed copyright updates and reflow paragraphs.

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

> 65:      *  15: text blocks (records and pattern matching in preview again)
> 66:      *  16: records and pattern matching
> 67:      *  17: sealed classes, floating-point always strict

shouldn't it be mentioned that sealed classes are in preview in 17?

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

PR: https://git.openjdk.java.net/jdk/pull/6286


More information about the compiler-dev mailing list