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

javadoc problems referencing inner classes when static import is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 10
    • 9
    • tools
    • None

      The next code generate a javadoc warning, is it correct?
      {code:title=javadoc.java}
      import static javax.sound.sampled.AudioFileFormat.Type;

      /**
       * Test method.
       *
       * @see #isFileTypeSupported(Type)
       */
      public class javadoc {

          /**
           * Test methods.
           *
           * @param fileType file type for which write capabilities are queried
           */
          public void isFileTypeSupported(Type fileType) {
          }
      }
      {code}

      javadoc.java:8: warning - Tag @see: can't find isFileTypeSupported(Type) in javadoc

      Note that doclint reports nothing in this case

      jdk 9 b15 used.

            ksrini Kumar Srinivasan
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: