Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8265613

False positives for "Related Packages"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
      None

      Description

      [~alanb] reports a number of false positives for "Related Packages", such that we need to modify the heuristics or disable the feature for now.

      For example, the Attach API (com.sun.tools.attach) is claiming incorrectly that javac (com.sun.tools.javac) is a related API.

      One possibility that may be worth investigating is to exclude sibling packages when the parent package is either empty (no classes or interfaces) or is not an exported package of any module.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hannesw Hannes Wallnoefer
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: