< 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 {
// while building the interim javac, the ClassReader will produce a warning when loading a class
// keeping the constant of a feature that has been integrated or dropped, serves the purpose of muting such warnings.
-
//---
IMPLICIT_CLASSES, //to be removed when boot JDK is 25
@JEP(number=487, title="Scoped Values", status="Fourth Preview")
SCOPED_VALUES,
@JEP(number=505, title="Structured Concurrency", status="Fifth Preview")
/**
* Enum of preview features in the current release.
* Values should be annotated with the feature's {@code JEP}.
*/
public enum Feature {
+ @JEP(number=401, title="Value Classes and Objects", status = "Preview")
+ VALUE_OBJECTS,
+
// while building the interim javac, the ClassReader will produce a warning when loading a class
// keeping the constant of a feature that has been integrated or dropped, serves the purpose of muting such warnings.
//---
IMPLICIT_CLASSES, //to be removed when boot JDK is 25
@JEP(number=487, title="Scoped Values", status="Fourth Preview")
SCOPED_VALUES,
@JEP(number=505, title="Structured Concurrency", status="Fifth Preview")
< prev index next >