Sure. But Virtual threads are the main feature of Loom. Those other two are important supporting functionality and I hope all three get delivered as non-preview features by LTS JDK 23.
No, otherwise there's nothing special about LTS releases. If it was, it would be a reason to unnecessarily delay or rush features, which is no bueno for a programming language where one has to live with failed features for a long time.
Indeed, so there IS nothing special about an LTS. Heck, the very concept LTS as a general thing that holds inherently for Java doesn't exist.
Yet, we have collectively agreed that we think one should only use an LTS Java (even despite such thing not existing), and that all other versions can't be used, as they are supposedly not suitable for production or whatever people dream up as excuse.
Applications should indeed use any production version, unless they decide to trade off incremental increments improvements for stability.
Libraries and framework have to be more considerate though. Realistically, many of their users might want to stick to LTS versions, so it makes sense to craft support strategies around versions for which LTS is commonly offered.
29
u/Slanec Apr 06 '22
FYI, this is "only" the Virtual Threads part of Loom. Structured Concurrency and Scope Locals are not there yet.