8297928: Update jdk.internal.javac.PreviewFeature.Feature to reflect JEP 432 and JEP 433

Reviewed-by: alanb
This commit is contained in:
Jan Lahoda 2022-12-01 11:46:13 +00:00
parent b60cce6f3b
commit fc9d419b4f

@ -64,9 +64,9 @@ public @interface PreviewFeature {
* Values should be annotated with the feature's {@code JEP}.
*/
public enum Feature {
@JEP(number=427, title="Pattern Matching for switch", status="Third Preview")
@JEP(number=433, title="Pattern Matching for switch", status="Fourth Preview")
SWITCH_PATTERN_MATCHING(),
@JEP(number=405, title="Record Patterns")
@JEP(number=432, title="Record Patterns", status="Second Preview")
RECORD_PATTERNS,
@JEP(number=425, title="Virtual Threads")
VIRTUAL_THREADS,