4 ms·
I'm curious what is meant by a "preview feature, or second preview feature, or..." in a released product?? I don't suppose they are going to remove it later. So
by mbfg 4y ago
I'm curious what is meant by a "preview feature, or second preview feature, or..." in a released product?? I don't suppose they are going to remove it later. So in what way is it a preview? Are they signalling that it might have breaking changes in the future?
- somenameforme 4y ago"A preview feature is a new feature whose design, specification, and implementation are complete, but which is not permanent, which means that the feature may exist in a different form or not at all in future JDK releases." https://docs.oracle.com/en/java/javase/19/language/preview-language-and-vm-features.html https://docs.oracle.com/en/java/javase/19/language/preview-l...
- deleted 4y ago[deleted]
- simonkagedal 4y agoYes, they reserve the possibilty to completely redo or even remove these preview features. They are not enabled by default, you have to opt in with a compiler flag.
- mbfg 4y agook, that makes some sense.
- carimura 4y agoYou can read all about it here: https://openjdk.org/jeps/12 https://openjdk.org/jeps/12 with a slight addendum here: https://openjdk.org/jeps/8300604 https://openjdk.org/jeps/8300604 and podcast that discusses both: https://inside.java/2023/03/21/podcast-030/ https://inside.java/2023/03/21/podcast-030/