RFR: 8298050: Add links to graph output for javadoc

Jonathan Gibbons jjg at openjdk.org
Thu Dec 8 16:27:01 UTC 2022


On Thu, 8 Dec 2022 16:18:02 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> This PR proposes adding hyperlinks to the sealed graphic layout making navigation much simpler via the image.
>
> make/jdk/src/classes/build/tools/taglet/SealedGraph.java line 207:
> 
>> 205:             private static String relativeLink(TypeElement rootNode, TypeElement node) {
>> 206:                 var backNavigator = rootNode.getQualifiedName().toString().chars()
>> 207:                         .filter(c -> '.' == c)
> 
> "Yoda conditions" are usually frowned upon. Can `c` be `null`?

`c` is a character

-------------

PR: https://git.openjdk.org/jdk/pull/11580



More information about the build-dev mailing list