test/langtools/tools/javac/diags/examples/PreviewFeatureUse.java
changeset 53023 6879069d9d94
parent 52377 907fdbbdf584
child 53878 4584d0331318
equal deleted inserted replaced
53022:ece620f32d2d 53023:6879069d9d94
    23 
    23 
    24 //key: compiler.warn.preview.feature.use
    24 //key: compiler.warn.preview.feature.use
    25 //key: compiler.warn.preview.feature.use.plural
    25 //key: compiler.warn.preview.feature.use.plural
    26 //key: compiler.misc.feature.diamond
    26 //key: compiler.misc.feature.diamond
    27 //key: compiler.misc.feature.lambda
    27 //key: compiler.misc.feature.lambda
    28 //options: -Xlint:preview -XDforcePreview -source 12 --enable-preview
    28 //options: -Xlint:preview -XDforcePreview -source 13 --enable-preview
    29 
    29 
    30 import java.util.ArrayList;
    30 import java.util.ArrayList;
    31 
    31 
    32 class PreviewFeatureUse {
    32 class PreviewFeatureUse {
    33     void test() {
    33     void test() {