Review Request JDK-8171323: generate dot file for and with only API dependences

Paul Sandoz paul.sandoz at
Fri Dec 16 01:12:15 UTC 2016

> On 15 Dec 2016, at 10:53, Mandy Chung <mandy.chung at> wrote:
> This updates the GenGraphs build tool to generate a dot file for
> `` and `` modules including API dependences only
> that can be used to display Java SE module graph.

Looks ok.

You can marginally improve genDotFile:

List<ModuleDescriptor> mds = cf.modules().stream()


  printGraph(out, name, gengraph(cf),, Function.identity()));


printGraph(out, name, graph,
    .filter(md -> !"jdk.”) && graph.nodes().contains(
    .collect(toMap(ModuleDescriptor::name, Function.identity()))


More information about the jigsaw-dev mailing list