8231826: Implement javac changes for pattern matching for instanceof

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Gavin Bierman <gavin.bierman@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
This commit is contained in:
Jan Lahoda 2019-11-27 09:00:01 +01:00
parent 7f3ef14d5b
commit 229e0d1631
84 changed files with 3687 additions and 101 deletions

View file

@ -54,6 +54,8 @@ public @interface PreviewFeature {
public boolean essentialAPI() default false;
public enum Feature {
TEXT_BLOCKS;
PATTERN_MATCHING_IN_INSTANCEOF,
TEXT_BLOCKS,
;
}
}