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

Unreachable code in jdk.javadoc.internal.doclets.formats.html. HtmlDocletWriter. getAnnotations()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5
    • tbd
    • 9
    • tools

    Description

      Unreachable code in jdk.javadoc.internal.doclets.formats.html.HtmlDocletWriter.getAnnotations(int indent, List<? extends AnnotationMirror> descList, boolean linkBreak, boolean isJava5DeclarationLocation):
      ..................
      if (annotationValue.getValue() instanceof AnnotationValue[]) {
                              AnnotationValue[] annotationArray =
                                      (AnnotationValue[]) annotationValue.getValue();
                              annotationTypeValues.addAll(Arrays.asList(annotationArray));
                          }
      ....................
      The initialization of checked value by AnnotationValue[] is not observed in the source code.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ogb Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: