--- a/langtools/test/tools/javac/T6358166.java Mon Dec 07 09:18:07 2015 -0800
+++ b/langtools/test/tools/javac/T6358166.java Mon Dec 07 14:02:55 2015 -0800
@@ -54,7 +54,7 @@
String testSrc = System.getProperty("test.src");
JavacFileManager fm = new JavacFileManager(new Context(), false, null);
- JavaFileObject f = fm.getFileForInput(testSrc + File.separatorChar + self + ".java");
+ JavaFileObject f = fm.getJavaFileObject(testSrc + File.separatorChar + self + ".java");
test(fm, f, "-verbose", "-d", ".");