Completely pulling virtual threads seems quite unlikely. The preview status just means that the Java devs are warning that they may change APIs. For smaller projects that often isn't a big deal, but for bigger projects that span lots of different developers in different companies, breaking changes are a big deal.
This is sort of implied in your message, but to be explicit for others: preview status is about more than potential API changes, it’s also about stability. The feature is not production ready and should not be used in production.
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.
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.
28
u/Joram2 Sep 20 '22
Completely pulling virtual threads seems quite unlikely. The preview status just means that the Java devs are warning that they may change APIs. For smaller projects that often isn't a big deal, but for bigger projects that span lots of different developers in different companies, breaking changes are a big deal.