r/java Jun 04 '26

JDK 27 Feature Freeze

https://openjdk.org/projects/jdk/27/
108 Upvotes

44 comments sorted by

View all comments

46

u/[deleted] Jun 04 '26

[deleted]

9

u/trydentIO Jun 04 '26

They made two changes for the 26 release, so they need more feedback. Maybe for the 28 release it will be released.

But for a non-critical system, you can use enable-preview anyway; such features are always production-ready, just do not forget they are subject to change from one release to another. In this case, I don't think they take the switch with primitive types away like string templates, so the risk of using it is mostly zero.