diff --git a/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java b/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java index 8b32ba7749a..d134ca01dd4 100644 --- a/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java +++ b/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java @@ -89,6 +89,9 @@ public enum Feature { // Not used, but required by interim javac with Java 21 bootjdk. @JEP(number=445, title="Unnamed Classes and Instance Main Methods", status="Deprecated") UNNAMED_CLASSES, + FOREIGN, + @JEP(number=459, title="String Templates", status="Second Preview") + STRING_TEMPLATES, /** * A key for testing. */