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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • 8
    • tools
    • b105
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: