mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8062740: Since changeset 2686:030080f03e4f test/tools/sjavac/DependencyCollection.java does no longer compile
Added throws IOException to main method. Reviewed-by: jjg
This commit is contained in:
parent
78ab98e8fa
commit
4a3d559ffb
1 changed files with 2 additions and 1 deletions
|
@ -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 @@ import com.sun.tools.sjavac.comp.dependencies.DependencyCollector;
|
|||
|
||||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue