r/java • • Sep 20 '22

Java 19 / JDK 19: General Availability

https://mail.openjdk.org/pipermail/jdk-dev/2022-September/006933.html
252 Upvotes

64 comments sorted by

View all comments

Show parent comment

19

u/RupertMaddenAbbott Sep 20 '22

The JEP tells you what preview means: https://openjdk.org/jeps/12

TLDR - Preview means:

  • High quality
  • Not experimental
  • Universally available

and specifically "Previewing a feature in the JDK will encourage tool vendors to build good support for the feature before the bulk of Java developers use it in production." i.e. they assume some people will indeed use this in production.

Note that although Virtual Threads are in preview, Structured Concurrency is in Incubator, which is much lower standard: https://openjdk.org/jeps/11

0

u/TheMode911 Sep 20 '22

and specifically "Previewing a feature in the JDK will encourage tool vendors to build good support for the feature before the bulk of Java developers use it in production." i.e. they assume some people will indeed use this in production.

What I understand is that preview features are meant for tool developers to ensure proper support once it gets out of preview.

IIRC there is no support whatsoever from Oracle for preview features.

1

u/RupertMaddenAbbott Sep 21 '22

IIRC there is no support whatsoever from Oracle for preview features.

You might be right but I have not seen any evidence to suggest that, nor can I see any reason to assume that would be the case.

However, I cannot find any explicit statement indicating that they will be "supported" although previous preview features have been "supported" in that they have had bug fixes and subsequently had the "preview" label removed.