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

Javadoc is confused by @link to imported classes outside of the set of generated packages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b105
    • Verification:
      Verified

      Description

      If Javadoc has a @link to an imported class that is outside of the set of packages for which javadoc is being generated, it generates wrong output. Javadoc'ing this class (with only package 'a' on the command line)

      package a;
      import java.util.Set;

      public class Foo {
          /** Blah {@link Set} blah */
          public void foo() { }
      }

      results in the text <CODE> being emitted into the user-visible output.

        Attachments

          Activity

            People

            • Assignee:
              jjg Jonathan Gibbons
              Reporter:
              briangoetz Brian Goetz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: