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

javadoc tool Incorrect error message about malformed link

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • tools
    • None
    • b24

    Description

      The error message for this malformed javadoc comment is incorrect.

      ```/**
       * {@link foo().
       */
      public class JavaDocBug {
      }```

      The messages are:
       % javadoc JavaDocBug.java
      Loading source file JavaDocBug.java...
      Constructing Javadoc information...
      Building index for all the packages and classes...
      Standard Doclet version 16+36-2231
      Building tree for all the packages and classes...
      JavaDocBug.java:2: error: ')' missing in reference
       * {@link foo().
         ^

      Attachments

        Issue Links

          Activity

            People

              hannesw Hannes Wallnoefer
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: