1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/LinkFactoryImpl.java Tue May 14 10:14:55 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/LinkFactoryImpl.java Tue May 14 10:14:55 2013 -0700 1.3 @@ -149,14 +149,14 @@ 1.4 if (annotations.length == 0) 1.5 return links; 1.6 1.7 - List<String> annos = m_writer.getAnnotations(0, annotations, false, linkInfo.isJava5DeclarationLocation); 1.8 + List<Content> annos = m_writer.getAnnotations(0, annotations, false, linkInfo.isJava5DeclarationLocation); 1.9 1.10 boolean isFirst = true; 1.11 - for (String anno : annos) { 1.12 + for (Content anno : annos) { 1.13 if (!isFirst) { 1.14 links.addContent(" "); 1.15 } 1.16 - links.addContent(new RawHtml(anno)); 1.17 + links.addContent(anno); 1.18 isFirst = false; 1.19 } 1.20 if (!annos.isEmpty()) {