--- a/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Graph.java Wed Nov 23 16:16:36 2016 +0000
+++ b/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Graph.java Thu Dec 01 09:02:42 2016 +0000
@@ -388,10 +388,10 @@
}
static void printEdges(PrintWriter out, Graph<String> graph,
- String node, Set<String> requiresPublic) {
+ String node, Set<String> requiresTransitive) {
graph.adjacentNodes(node).forEach(dn -> {
String attr = dn.equals("java.base") ? REQUIRES_BASE
- : (requiresPublic.contains(dn) ? REEXPORTS : REQUIRES);
+ : (requiresTransitive.contains(dn) ? REEXPORTS : REQUIRES);
out.format(" \"%s\" -> \"%s\" [%s];%n", node, dn, attr);
});
}