--- old/test/langtools/tools/javac/api/T6265137.java 2017-12-18 16:38:20.208396351 -0800 +++ new/test/langtools/tools/javac/api/T6265137.java 2017-12-18 16:38:19.868566336 -0800 @@ -52,7 +52,7 @@ String srcdir = System.getProperty("test.src"); Iterable files = fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(srcdir, "T6265137a.java"))); - javac.getTask(null, fm, dl, Arrays.asList("-target","10"), null, files).call(); + javac.getTask(null, fm, dl, Arrays.asList("-target","11"), null, files).call(); } } }