-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P5
-
Affects Version/s: 9
-
Component/s: tools
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.
..................
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.