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

stddoclet: Extra warnings "missing closing } character for inline tag"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • tools

      The following doc comment creates three warnings for the first missing '}'
      on @link, and no warnings for the second missing '}' on @docRoot:

      /**
       * {@link com.package1.Class1#publicStaticMethod().
       * Any label would be ignored.
       *
       * @see <a href="{@docRoot/com/package1/Class1.html">Class1</a>
       */

      Here are the warnings:
      ./Class1.java:34: warning - Missing closing } character for inline tag: "{@link com.package1.Class1#publicStaticMethod().
       Any label would be ignored."
      ./Class1.java:34: warning - Missing closing } character for inline tag: "{@link com.package1.Class1#publicStaticMethod().
       Any label would be ignored."
      ./Class1.java:34: warning - Missing closing } character for inline tag: "{@link com.package1.Class1#publicStaticMethod().
       Any label would be ignored."

      This is a simplification of the the full class Class1.java, which is attached.

            Unassigned Unassigned
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: