--- 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();