< prev index next >
test/langtools/tools/javac/diags/examples/PreviewFeatureUse.java
Print this page
@@ -23,11 +23,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 12 --enable-preview
+//options: -Xlint:preview -XDforcePreview -source 13 --enable-preview
import java.util.ArrayList;
class PreviewFeatureUse {
void test() {
< prev index next >