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

Trouble with @see/@link tag for a vararg method.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • tools
    • None


      From ###@###.###:

      I'm trying to reference a varargs method using @link tags in javadoc and
      things aren't behaving as I would expect.
      ...
      Based on the above and the syntax for varargs, I would have guessed that the
      @link tag should look something like:

        @link p.Ref#m(Object...)

      This does not work. It seems that for javadoc to succeed, I need to use:

        @link p.Ref#m(Object[])

            sseligmasunw Scott Seligman (Inactive)
            sseligmasunw Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: