langtools/test/tools/javac/warnings/suppress/VerifySuppressWarnings.java
changeset 27225 8369cde9152a
parent 25301 e5da086c7d43
child 27226 53535e4e1b08
--- a/langtools/test/tools/javac/warnings/suppress/VerifySuppressWarnings.java	Tue Oct 21 09:01:51 2014 -0400
+++ b/langtools/test/tools/javac/warnings/suppress/VerifySuppressWarnings.java	Tue Oct 21 13:08:20 2014 -0700
@@ -74,7 +74,7 @@
             File inp = new File(sp, args[0]);
 
             if (inp.canRead()) {
-                testContent = fm.getRegularFile(inp).getCharContent(true).toString();
+                testContent = fm.getRegularFile(inp.toPath()).getCharContent(true).toString();
             }
         }
         if (testContent == null) throw new IllegalStateException();