8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile
Summary: Added throws IOException to main method.
Reviewed-by: jjg
--- a/langtools/test/tools/sjavac/DependencyCollection.java Mon Nov 03 10:20:34 2014 +0100
+++ b/langtools/test/tools/sjavac/DependencyCollection.java Tue Nov 04 09:04:13 2014 +0100
@@ -32,6 +32,7 @@
* @run main Wrapper DependencyCollection
*/
+import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Path;
import java.nio.file.Paths;
@@ -55,7 +56,7 @@
public class DependencyCollection {
- public static void main(String[] args) {
+ public static void main(String[] args) throws IOException {
Path src = Paths.get(ToolBox.testSrc, "test-input", "src");
JavaCompiler javac = ToolProvider.getSystemJavaCompiler();