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

Javadoc fails with package annotation (error: unknown tag)

    Details

    • Subcomponent:
    • Introduced In Build:
      b04
    • Introduced In Version:
      12

      Description

      A DESCRIPTION OF THE PROBLEM :
      Javadoc fails when using a package annotation. It works when the package annotation is preceded by a Doc comment.


      ---------- BEGIN SOURCE ----------
      @java.lang.Deprecated
      package com.example;
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      /**
       *
       */
      @java.lang.Deprecated
      package com.example;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hannesw Hannes Wallnoefer
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: