langtools/test/tools/javac/T6358166.java
changeset 34560 b6a567b677f7
parent 30730 d3ce7619db2c
child 36526 3b41f1c69604
--- 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", ".");