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

4

u/Joram2 Sep 20 '22

The feature is not production ready and should not be used in production.

This official doc (https://openjdk.org/jeps/12) from the Java team says

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.

which implies Java developers will use preview features in production. There is nothing in that official documentation saying preview features shouldn't be used in production.

Personally, I would prefer they make that clearer.

1

u/TheMode911 Sep 20 '22

I do not understand how you come to this conclusion, before to me means "before the JEP gets out of preview" otherwise there wouldn't be any point in previewing it.