equal
deleted
inserted
replaced
68 this(config, log, Collections.emptySet()); |
68 this(config, log, Collections.emptySet()); |
69 } |
69 } |
70 public ModuleAnalyzer(JdepsConfiguration config, |
70 public ModuleAnalyzer(JdepsConfiguration config, |
71 PrintWriter log, |
71 PrintWriter log, |
72 Set<String> names) { |
72 Set<String> names) { |
73 |
|
74 if (!config.initialArchives().isEmpty()) { |
|
75 String list = config.initialArchives().stream() |
|
76 .map(Archive::getPathName).collect(joining(" ")); |
|
77 throw new JdepsTask.UncheckedBadArgs(new BadArgs("err.invalid.module.option", |
|
78 list, "--check")); |
|
79 } |
|
80 |
|
81 this.configuration = config; |
73 this.configuration = config; |
82 this.log = log; |
74 this.log = log; |
83 |
75 |
84 this.dependencyFinder = new DependencyFinder(config, DEFAULT_FILTER); |
76 this.dependencyFinder = new DependencyFinder(config, DEFAULT_FILTER); |
85 if (names.isEmpty()) { |
77 if (names.isEmpty()) { |