< prev index next >

test/langtools/tools/javac/diags/examples/PreviewFeatureUse.java

Print this page

        

@@ -25,11 +25,11 @@
 
 //key: compiler.warn.preview.feature.use
 //key: compiler.warn.preview.feature.use.plural
 //key: compiler.misc.feature.diamond
 //key: compiler.misc.feature.lambda
-//options: -Xlint:preview -XDforcePreview -source 11 --enable-preview
+//options: -Xlint:preview -XDforcePreview -source 12 --enable-preview
 
 import java.util.ArrayList;
 
 class PreviewFeatureUse {
     void test() {
< prev index next >