8342679: Clean up PreviewFeature.Feature
Reviewed-by: liach, vromero
This commit is contained in:
parent
2da7f2bcb0
commit
c9f38409cc
@ -64,11 +64,10 @@ public @interface PreviewFeature {
|
|||||||
* Values should be annotated with the feature's {@code JEP}.
|
* Values should be annotated with the feature's {@code JEP}.
|
||||||
*/
|
*/
|
||||||
public enum Feature {
|
public enum Feature {
|
||||||
// not used, but required for interim javac to not warn.
|
// while building the interim javac, the ClassReader will produce a warning when loading a class
|
||||||
VIRTUAL_THREADS,
|
// keeping the constant of a feature that has been integrated or dropped, serves the purpose of muting such warnings.
|
||||||
FOREIGN,
|
|
||||||
@JEP(number=459, title="String Templates", status="Second Preview")
|
//---
|
||||||
STRING_TEMPLATES,
|
|
||||||
@JEP(number=477, title="Implicitly Declared Classes and Instance Main Methods", status="Third Preview")
|
@JEP(number=477, title="Implicitly Declared Classes and Instance Main Methods", status="Third Preview")
|
||||||
IMPLICIT_CLASSES,
|
IMPLICIT_CLASSES,
|
||||||
@JEP(number=481, title="Scoped Values", status="Third Preview")
|
@JEP(number=481, title="Scoped Values", status="Third Preview")
|
||||||
|
Loading…
Reference in New Issue
Block a user