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

Constants referred in @value tag are not always displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 9
    • tools
    • None

      The javadoc tool silently ignores @value tag in some cases. I've found 2 such cases so far.
      The first one is when one refers to a private constant.
      The second one is when a constant is referred to using class#field and the "class" is being imported (e.g.
      ...
      import a.b;
      ...
      {@value b#constant} ...)

      In both cases javadoc neither produces documents with displayed constants nor reports any kind of error/warning.

            Unassigned Unassigned
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: