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

link in xml comment causes warning in javadoc

    Details

      Description

      FULL PRODUCT VERSION :
      openjdk version "1.8.0_121"
      OpenJDK Runtime Environment (IcedTea 3.3.0) (suse-6.4-x86_64)
      OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux linux-9rd9.suse 4.4.46-11-default #1 SMP Sat Feb 4 06:07:41 UTC 2017 (f555e41) x86_64 x86_64 x86_64 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      /**
      * The reason for the change of the site represented by this INode.
      * If there was no change notified yet, this is <code>null</code>.
      * Besides this the allowed values are
      * {@link #CHG_CONTENTS}, {@link #CHG_MALFORMED_URL},
      * {@link #CHG_IO_EXCEPTION} and {@link #CHG_SAX_EXCEPTION }
      * <!--and finally {@link #CHG_UNSPEC_EXCEPTION}-->.
      */
      private String chgReason;

      causes error on link CHG_UNSPEC_EXCEPTION although comment out.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would expect no eror
      ACTUAL -
      an error occurs on the link mentioned above.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      [WARNING] /home/ernst/Software/src/main/java/eu/simuline/web/changeTracer/Agent.java:140: warning - Tag @link: can't find CHG_UNSPEC_EXCEPTION in eu.simuline.web.changeTracer.Agent.INode


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      /**
      * The reason for the change of the site represented by this INode.
      * If there was no change notified yet, this is <code>null</code>.
      * Besides this the allowed values are
      * {@link #CHG_CONTENTS}, {@link #CHG_MALFORMED_URL},
      * {@link #CHG_IO_EXCEPTION} and {@link #CHG_SAX_EXCEPTION }
      * <!--and finally {@link #CHG_UNSPEC_EXCEPTION}-->.
      */
      private String chgReason;
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      no real workaround.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: