< prev index next > src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java
Print this page
/**
* Enum of preview features in the current release.
* Values should be annotated with the feature's {@code JEP}.
*/
public enum Feature {
! // not used
VIRTUAL_THREADS,
- @JEP(number=442, title="Foreign Function & Memory API", status="Third Preview")
FOREIGN,
@JEP(number=430, title="String Templates")
STRING_TEMPLATES,
@JEP(number=443, title="Unnamed Patterns and Variables")
UNNAMED,
@JEP(number=445, title="Unnamed Classes and Instance Main Methods")
/**
* Enum of preview features in the current release.
* Values should be annotated with the feature's {@code JEP}.
*/
public enum Feature {
! // not used, but required for interim javac to not warn.
VIRTUAL_THREADS,
FOREIGN,
+
@JEP(number=430, title="String Templates")
STRING_TEMPLATES,
@JEP(number=443, title="Unnamed Patterns and Variables")
UNNAMED,
@JEP(number=445, title="Unnamed Classes and Instance Main Methods")
< prev index next >