"""
);
checkOutput("pkg/C4.html", true,
diff --git a/test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java b/test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
index fa373d588bdbb..2bc21af6558fc 100644
--- a/test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
+++ b/test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -159,15 +159,23 @@ void checkCommentDeprecated(boolean expectFound) {
Since:
JDK1.0
See Also:
- C2
,\s
- Serialized Form
+
+
+
""",
"""
- Since:
- 1.4
- See Also:
- setUndecorated(boolean)
+ -
+
+
""",
"""
@@ -188,14 +196,22 @@ void checkCommentDeprecated(boolean expectFound) {
- Since:
- 1.4
- See Also:
- readObject()
+ -
+
+
""",
"""
- Throws:
java.io.IOException
- See Also:
- setUndecorated(boolean)
+ -
+
+
""");
checkOutput("pkg1/C2.html", expectFound,
@@ -213,7 +229,11 @@ void checkCommentDeprecated(boolean expectFound) {
Throws:
java.io.IOException
See Also:
- C1.setUndecorated(boolean)
+
+
+
""",
"""
Deprecated.
@@ -226,7 +246,11 @@ void checkCommentDeprecated(boolean expectFound) {
Since:
1.4
See Also:
- C1.setUndecorated(boolean)
+
+
+
""",
"""
Deprecated.
@@ -262,8 +286,12 @@ void checkNoDeprecated() {
Since:
JDK1.0
See Also:
- C2
,\s
- Serialized Form
+
+
+
""");
checkOutput("pkg1/C1.html", true,
@@ -286,14 +314,22 @@ void checkNoDeprecated() {
Since:
1.4
See Also:
- readObject()
+
+
+
""",
"""
- Throws:
java.io.IOException
- See Also:
- setUndecorated(boolean)
+ -
+
+
""");
checkOutput("serialized-form.html", true,
@@ -302,7 +338,11 @@ void checkNoDeprecated() {
Throws:
java.io.IOException
See Also:
- C1.setUndecorated(boolean)
+
+
+
""",
"""
Deprecated.
@@ -315,7 +355,11 @@ void checkNoDeprecated() {
Since:
1.4
See Also:
- C1.setUndecorated(boolean)
+
+
+
""",
"""
Deprecated.
diff --git a/test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java b/test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java
index 99f6788d1c37d..4a1a2648b58fd 100644
--- a/test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java
+++ b/test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java
@@ -61,8 +61,12 @@ public void test1() {
checkOutput("pkg1/C.html", true,
"""
See Also:
- getRate()
,\s
- setRate(double)
""",
+
+
+ """,
"""
public final <\
span class="return-type">void setRate̴\
diff --git a/test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java b/test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java
index 3e476dfd26701..090381956e4cd 100644
--- a/test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java
+++ b/test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -101,13 +101,19 @@ as the parent class loader.
""",
"getSystemClassLoader()
",
"createTempFile(prefix, suffix, null)
",
"""
- RFC 2279: UTF-8, a
- transformation format of ISO 10646,
RFC 2373: IPv6 Addressing
- Architecture,
RFC 2396: Uniform
- Resource Identifiers (URI): Generic Syntax,
RFC 2732: Format for
- Literal IPv6 Addresses in URLs,
A nearby file
+
+
+
""");
checkOutput("mylib/lang/StringBuilderChild.html", true,
diff --git a/test/langtools/jdk/javadoc/doclet/testLinkOption/TestOptionOrder.java b/test/langtools/jdk/javadoc/doclet/testLinkOption/TestOptionOrder.java
index d27cd96d0338e..28ffa7c86aa96 100644
--- a/test/langtools/jdk/javadoc/doclet/testLinkOption/TestOptionOrder.java
+++ b/test/langtools/jdk/javadoc/doclet/testLinkOption/TestOptionOrder.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -116,7 +116,7 @@ public class App {
checkOrder("app/App.html",
// Instance in See Also
- "RFC 2279: UTF-8, a
- * transformation format of ISO 10646,
RFC 2373: IPv6 Addressing
- * Architecture,
RFC 2396: Uniform
- * Resource Identifiers (URI): Generic Syntax,
RFC 2732: Format for
- * Literal IPv6 Addresses in URLs,
A nearby file
+ * transformation format of ISO 10646
+ * @see RFC 2373: IPv6 Addressing
+ * Architecture
+ * @see RFC 2396: Uniform
+ * Resource Identifiers (URI): Generic Syntax
+ * @see RFC 2732: Format for
+ * Literal IPv6 Addresses in URLs
+ * @see A nearby file
*/
public void externalLink() {}
}
diff --git a/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java b/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
index a6eaabe773c43..91094b681534f 100644
--- a/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
+++ b/test/langtools/jdk/javadoc/doclet/testModules/TestModules.java
@@ -628,9 +628,13 @@ void checkModuleTags() {
JDK 9""",
"""
See Also:
- "Test see tag",\s
- TestClassInModuleTags
""",
+
+
+ """,
"""
Regular Tag:
Just a regular simple tag.""",
diff --git a/test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java b/test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java
index 8349327f42a04..a412886c165f8 100644
--- a/test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java
+++ b/test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java
@@ -122,7 +122,11 @@ void checkTypeParameters() {
"""
- See Also:
- TypeParameters
+ -
+
+
""",
// Method that uses class type parameter.
"""
diff --git a/test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java b/test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java
index 170d6b4add0b1..b38de9454f8c2 100644
--- a/test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java
+++ b/test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java
@@ -59,8 +59,12 @@ public void testArrays() {
This is an Object property where the Object is a single Object.
- See Also:
- getGood()
,\s
- setGood(MyObj)
+ -
+
+
""",
"""
@@ -71,8 +75,12 @@ public void testArrays() {
This is an Object property where the Object is an array.
- See Also:
- getBad()
,\s
- setBad(MyObj[])
+ -
+
+
""",
// no tab classes should be used in the property table
@@ -105,8 +113,12 @@ class in pkg">ObjectProperty<