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

{@docroot} fails when embedded in {@link}

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • tools
    • beta3
    • sparc
    • solaris_2.6
    • Verified

      When running the J2SE doc build, this warning occurs:

      /java/pubs/ws/dkramer-merlin/make/docs/../../src/share/classes/javax/rmi/CORBA/StubDelegate.java:69: warning - Tag @link: missing final >: "<a href="{@docRoot"

      The source code looks correct:

          /**
           * Delegation call for
           * {@link <a href="{@docRoot}/serialized-form.html#javax.rmi.CORBA.Stub"><code>Stub.readObject(java.io.ObjectInputStream)</code></a>}.
           */
          void readObject(Stub self, ObjectInputStream s)
              throws IOException, ClassNotFoundException;

      It appears that the link tag thinks it ends at the first right-curly brace '}' (that
      happens to belong to {@docRoot}):

         {@link <a href="{@docRoot}

      It then complains that '>' never appeared before the close of {@link}.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: