On Thu, 4 Nov 2021 21:46:21 GMT, Anthony Vanelverdinghe <[email protected]> wrote:
>> The dot graph should print the edges in alphatical order. A simple fix to >> sort the edges before printing them. > > src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleDotGraph.java line 336: > >> 334: private final String name; >> 335: private final Graph<String> graph; >> 336: private final TreeSet<ModuleDescriptor> descriptors = new >> TreeSet<>(); > > This change is unnecessary, isn't it? This will make it clear that this is sorted. ------------- PR: https://git.openjdk.java.net/jdk/pull/6266
