< prev index next >

test/langtools/tools/javac/options/modes/SourceTargetTest.java

Print this page

        

@@ -69,11 +69,11 @@
     @Test
     void testObsoleteSourceTarget() throws IOException {
 
         writeFile("C.java", "class C { }");
 
-        String[] opts = { "-source", "1.6", "-target", "1.6" };
+        String[] opts = { "-source", "1.7", "-target", "1.7" };
         String[] files = { "C.java" };
 
         runMain(opts, files)
                 .checkOK()
                 .checkLog("obsolete");
< prev index next >