# HG changeset patch # User alundblad # Date 1415088253 -3600 # Node ID 51aa4299ae7b22ed035668ed5e7520e05c1039ff # Parent 716ed9a6d607cfea5135e1df738c16d999a1cfe5 8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile Summary: Added throws IOException to main method. Reviewed-by: jjg diff -r 716ed9a6d607 -r 51aa4299ae7b langtools/test/tools/sjavac/DependencyCollection.java --- 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();