< prev index next >

src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java

Print this page
@@ -62,13 +62,15 @@
      /**
       * 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.
- 
          //---
          @JEP(number=477, title="Implicitly Declared Classes and Instance Main Methods", status="Third Preview")
          IMPLICIT_CLASSES,
          @JEP(number=487, title="Scoped Values", status="Fourth Preview")
          SCOPED_VALUES,
< prev index next >