NetBeans 23+ no longer supports String Templates (JEP 430) #7620
mbien
started this conversation in
Tips, Tricks and Workarounds
Replies: 1 comment
-
ok it's clear thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NetBeans is using the javac API (in form of the nb-javac module) for the Java editor support. Due to the fact that JDK 23 removed the String Templates preview feature (JEP 430), NetBeans 23 and later, did also lose the ability to recognize String Templates (even when your project is using JDK 21 still).
workaround:
If you want to continue experimenting with the removed preview of JEP 430, consider keeping a copy of NetBeans 22, which is the last version with support for it - at least until the next iteration of the feature appears in the JDK again.
references:
Beta Was this translation helpful? Give feedback.
All reactions