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

Javadoc fails with package annotation (error: unknown tag)

XMLWordPrintable

    • b04
    • 12

      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;

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

              Created:
              Updated:
              Resolved: