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