RFR: JDK-8265613: False positives for "Related Packages"

Jonathan Gibbons jjg at openjdk.java.net
Sat Apr 24 03:53:26 UTC 2021


On Fri, 23 Apr 2021 13:25:08 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> The suggested simple fix to only include sibling packages if there is a common non-empty super package seems to work quite well. I have compiled a list to show the change in related packages listings generated for the JDK documentation (old output on the left, new output on the right).
> 
> https://gist.github.com/hns/d0f946255a69027405836201b047965d/revisions?diff=split
> 
> I updated the test to include an unlisted sibling package.

I note that `com.sun.source.*` now falls off the list :-( but that's probably better than what we had before.

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

Marked as reviewed by jjg (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3655


More information about the javadoc-dev mailing list