mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8156680: jdeps implementation refresh
Reviewed-by: dfuchs
This commit is contained in:
parent
d027cbbffb
commit
bbc75367c7
47 changed files with 4474 additions and 2286 deletions
|
@ -41,6 +41,7 @@ import java.nio.file.Path;
|
|||
import java.nio.file.Paths;
|
||||
import java.util.*;
|
||||
import java.util.regex.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class DotFileTest {
|
||||
public static void main(String... args) throws Exception {
|
||||
|
@ -182,7 +183,7 @@ public class DotFileTest {
|
|||
// invoke jdeps
|
||||
StringWriter sw = new StringWriter();
|
||||
PrintWriter pw = new PrintWriter(sw);
|
||||
System.err.println("jdeps " + args);
|
||||
System.err.println("jdeps " + args.stream().collect(Collectors.joining(" ")));
|
||||
int rc = com.sun.tools.jdeps.Main.run(args.toArray(new String[0]), pw);
|
||||
pw.close();
|
||||
String out = sw.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue