8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile
authoralundblad
Tue, 04 Nov 2014 09:04:13 +0100
changeset 27384 51aa4299ae7b
parent 27383 716ed9a6d607
child 27385 fb4a5f118316
8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile Summary: Added throws IOException to main method. Reviewed-by: jjg
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();