-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b165
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8178752 | 10 | Bhavesh Patel | P2 | Resolved | Fixed | b05 |
----------System.out:(343/14228)----------
Running test test
Running javadoc...
args: [-d, out, -sourcepath, /scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs, pkg]
javadoc OUT:
Loading source files for package pkg...
Constructing Javadoc information...
Creating destination directory: "out/"
Standard Doclet version 9-ea
Building tree for all the packages and classes...
Generating out/pkg/DeprecatedClassByAnnotation.html...
Generating out/pkg/TestAnnotationType.html...
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestAnnotationType.java:37: warning: no @return
String optional() default "unknown";
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestAnnotationType.java:43: warning: no @return
int required();
^
Generating out/pkg/TestClass.html...
Generating out/pkg/TestEnum.html...
Generating out/pkg/TestError.html...
Generating out/pkg/TestException.html...
Generating out/pkg/TestInterface.html...
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:54: warning: no @param for a
public void methodA(Class<?> a) {}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:59: warning: no @param for list
public void methodB(List<String> list){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:64: warning: no @param for list
public void methodC(List<List<String>> list){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:68: warning: no @param for list
public void methodD(List<? extends Iterator<String>> list){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:72: warning: no @param for map
public void methodE(Map<Integer, String> map){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:76: warning: no @param for list
public void methodF(List<? super Integer> list){}
^
Generating out/pkg/package-frame.html...
Generating out/pkg/package-summary.html...
Generating out/pkg/package-tree.html...
Generating out/constant-values.html...
Generating out/serialized-form.html...
Building index for all the packages and classes...
Generating out/overview-tree.html...
Generating out/index-all.html...
Generating out/deprecated-list.html...
Building index for all classes...
Generating out/allclasses-frame.html...
Generating out/allclasses-frame.html...
Generating out/allclasses-noframe.html...
Generating out/allclasses-noframe.html...
Generating out/index.html...
Generating out/help-doc.html...
8 warnings
Starting subtest 1: check exit code
Passed: return code 0
Starting subtest 2: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test1 passes
Starting subtest 3: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test2 passes
Starting subtest 4: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test3 passes
Starting subtest 5: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test4 passes.
Starting subtest 6: checkOutput
Passed: deprecated-list.html: following text found:
class_test1 passes
Starting subtest 7: checkOutput
Passed: deprecated-list.html: following text found:
class_test2 passes
Starting subtest 8: checkOutput
Passed: deprecated-list.html: following text found:
class_test3 passes
Starting subtest 9: checkOutput
Passed: deprecated-list.html: following text found:
class_test4 passes
Starting subtest 10: checkOutput
Passed: deprecated-list.html: following text found:
enum_test1 passes
Starting subtest 11: checkOutput
Passed: deprecated-list.html: following text found:
enum_test2 passes
Starting subtest 12: checkOutput
Passed: deprecated-list.html: following text found:
error_test1 passes
Starting subtest 13: checkOutput
Passed: deprecated-list.html: following text found:
error_test2 passes
Starting subtest 14: checkOutput
Passed: deprecated-list.html: following text found:
error_test3 passes
Starting subtest 15: checkOutput
Passed: deprecated-list.html: following text found:
error_test4 passes
Starting subtest 16: checkOutput
Passed: deprecated-list.html: following text found:
exception_test1 passes
Starting subtest 17: checkOutput
Passed: deprecated-list.html: following text found:
exception_test2 passes
Starting subtest 18: checkOutput
Passed: deprecated-list.html: following text found:
exception_test3 passes
Starting subtest 19: checkOutput
Passed: deprecated-list.html: following text found:
exception_test4 passes
Starting subtest 20: checkOutput
Passed: deprecated-list.html: following text found:
interface_test1 passes
Starting subtest 21: checkOutput
Passed: deprecated-list.html: following text found:
interface_test2 passes
Starting subtest 22: checkOutput
Passed: deprecated-list.html: following text found:
interface_test3 passes
Starting subtest 23: checkOutput
Passed: deprecated-list.html: following text found:
interface_test4 passes
Starting subtest 24: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation
Starting subtest 25: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation()
Starting subtest 26: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation.method()
Starting subtest 27: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation.field
Starting subtest 28: checkOutput
Passed: pkg/DeprecatedClassByAnnotation.html: following text found:
<pre>@Deprecated
public class <span class="typeNameLabel">DeprecatedClassByAnnotation</span>
extends java.lang.Object</pre>
Starting subtest 29: checkOutput
FAILED: pkg/DeprecatedClassByAnnotation.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public int field</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> </div>
Starting subtest 30: checkOutput
FAILED: pkg/DeprecatedClassByAnnotation.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public DeprecatedClassByAnnotation​()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> </div>
Starting subtest 31: checkOutput
Passed: pkg/DeprecatedClassByAnnotation.html: following text found:
<pre>@Deprecated
public void method​()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
Starting subtest 32: checkOutput
FAILED: pkg/TestAnnotationType.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">annotation_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
@Documented
public @interface <span class="memberNameLabel">TestAnnotationType</span></pre>
Starting subtest 33: checkOutput
FAILED: pkg/TestAnnotationType.html: following text not found:
<pre>@Deprecated(forRemoval=true)
static final int field</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">annotation_test4 passes.</span></div>
Starting subtest 34: checkOutput
FAILED: pkg/TestAnnotationType.html: following text not found:
<pre>@Deprecated(forRemoval=true)
int required</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">annotation_test3 passes.</span></div>
Starting subtest 35: checkOutput
Passed: pkg/TestAnnotationType.html: following text found:
<pre>java.lang.String optional</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">annotation_test2 passes.</span></div>
Starting subtest 36: checkOutput
FAILED: pkg/TestClass.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">class_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestClass</span>
extends java.lang.Object</pre>
Starting subtest 37: checkOutput
FAILED: pkg/TestClass.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public TestClass​()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">class_test3 passes.</span></div>
Starting subtest 38: checkOutput
FAILED: pkg/TestEnum.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">enum_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public enum <span class="typeNameLabel">TestEnum</span>
extends java.lang.Enum<<a href="../pkg/TestEnum.html" title="enum in pkg">TestEnum</a>></pre>
Starting subtest 39: checkOutput
FAILED: pkg/TestEnum.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public static final <a href="../pkg/TestEnum.html" title="enum in pkg">TestEnum</a> FOR_REMOVAL</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">enum_test3 passes.</span></div>
Starting subtest 40: checkOutput
FAILED: pkg/TestError.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">error_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestError</span>
extends java.lang.Error</pre>
Starting subtest 41: checkOutput
FAILED: pkg/TestException.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">exception_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestException</span>
extends java.lang.Exception</pre>
Starting subtest 42: checkOutput
FAILED: pkg/TestInterface.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">interface_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestInterface</span>
extends java.lang.Object</pre>
Starting subtest 43: checkOutput
Passed: deprecated-list.html: following text found:
<ul>
<li><a href="#forRemoval">Deprecated For Removal</a></li>
<li><a href="#class">Deprecated Classes</a></li>
<li><a href="#enum">Deprecated Enums</a></li>
<li><a href="#exception">Deprecated Exceptions</a></li>
<li><a href="#error">Deprecated Errors</a></li>
<li><a href="#annotation.type">Deprecated Annotation Types</a></li>
<li><a href="#field">Deprecated Fields</a></li>
<li><a href="#method">Deprecated Methods</a></li>
<li><a href="#constructor">Deprecated Constructors</a></li>
<li><a href="#enum.constant">Deprecated Enum Constants</a></li>
<li><a href="#annotation.type.member">Deprecated Annotation Type Elements</a></li>
</ul>
Starting subtest 44: checkOutput
Passed: deprecated-list.html: following text found:
<a name="forRemoval">
Starting subtest 45: checkOutput
Passed: deprecated-list.html: following text found:
<table class="deprecatedSummary" summary="Deprecated For Removal table, listing deprecated for removal, and an explanation">
<caption><span>Deprecated For Removal</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Element</th>
<th class="colLast" scope="col">Description</th>
</tr>
Starting subtest 46: checkOutput
Passed: deprecated-list.html: following text found:
<table class="deprecatedSummary" summary="Deprecated Enums table, listing deprecated enums, and an explanation">
<caption><span>Deprecated Enums</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="pkg/TestEnum.html" title="enum in pkg">pkg.TestEnum</a></th>
<td class="colLast">
<div class="block"><span class="deprecationComment">enum_test1 passes.</span></div>
</td>
</tr>
</tbody>
</table>
Starting subtest 47: checkOutput
Passed: deprecated-list.html: following text found:
<table class="deprecatedSummary" summary="Deprecated Exceptions table, listing deprecated exceptions, and an explanation">
<caption><span>Deprecated Exceptions</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Exceptions</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="pkg/TestException.html" title="class in pkg">pkg.TestException</a></th>
<td class="colLast">
<div class="block"><span class="deprecationComment">exception_test1 passes.</span></div>
</td>
</tr>
</tbody>
</table>
----------System.err:(14/805)----------
java.lang.Error: 12 of 47 subtests failed
at JavadocTester.printSummary(JavadocTester.java:682)
at JavadocTester.runTests(JavadocTester.java:253)
at TestDeprecatedDocs.main(TestDeprecatedDocs.java:39)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:563)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
Running test test
Running javadoc...
args: [-d, out, -sourcepath, /scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs, pkg]
javadoc OUT:
Loading source files for package pkg...
Constructing Javadoc information...
Creating destination directory: "out/"
Standard Doclet version 9-ea
Building tree for all the packages and classes...
Generating out/pkg/DeprecatedClassByAnnotation.html...
Generating out/pkg/TestAnnotationType.html...
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestAnnotationType.java:37: warning: no @return
String optional() default "unknown";
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestAnnotationType.java:43: warning: no @return
int required();
^
Generating out/pkg/TestClass.html...
Generating out/pkg/TestEnum.html...
Generating out/pkg/TestError.html...
Generating out/pkg/TestException.html...
Generating out/pkg/TestInterface.html...
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:54: warning: no @param for a
public void methodA(Class<?> a) {}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:59: warning: no @param for list
public void methodB(List<String> list){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:64: warning: no @param for list
public void methodC(List<List<String>> list){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:68: warning: no @param for list
public void methodD(List<? extends Iterator<String>> list){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:72: warning: no @param for map
public void methodE(Map<Integer, String> map){}
^
/scratch/jenkins/workspace/9-dev/langtools/test/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java:76: warning: no @param for list
public void methodF(List<? super Integer> list){}
^
Generating out/pkg/package-frame.html...
Generating out/pkg/package-summary.html...
Generating out/pkg/package-tree.html...
Generating out/constant-values.html...
Generating out/serialized-form.html...
Building index for all the packages and classes...
Generating out/overview-tree.html...
Generating out/index-all.html...
Generating out/deprecated-list.html...
Building index for all classes...
Generating out/allclasses-frame.html...
Generating out/allclasses-frame.html...
Generating out/allclasses-noframe.html...
Generating out/allclasses-noframe.html...
Generating out/index.html...
Generating out/help-doc.html...
8 warnings
Starting subtest 1: check exit code
Passed: return code 0
Starting subtest 2: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test1 passes
Starting subtest 3: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test2 passes
Starting subtest 4: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test3 passes
Starting subtest 5: checkOutput
Passed: deprecated-list.html: following text found:
annotation_test4 passes.
Starting subtest 6: checkOutput
Passed: deprecated-list.html: following text found:
class_test1 passes
Starting subtest 7: checkOutput
Passed: deprecated-list.html: following text found:
class_test2 passes
Starting subtest 8: checkOutput
Passed: deprecated-list.html: following text found:
class_test3 passes
Starting subtest 9: checkOutput
Passed: deprecated-list.html: following text found:
class_test4 passes
Starting subtest 10: checkOutput
Passed: deprecated-list.html: following text found:
enum_test1 passes
Starting subtest 11: checkOutput
Passed: deprecated-list.html: following text found:
enum_test2 passes
Starting subtest 12: checkOutput
Passed: deprecated-list.html: following text found:
error_test1 passes
Starting subtest 13: checkOutput
Passed: deprecated-list.html: following text found:
error_test2 passes
Starting subtest 14: checkOutput
Passed: deprecated-list.html: following text found:
error_test3 passes
Starting subtest 15: checkOutput
Passed: deprecated-list.html: following text found:
error_test4 passes
Starting subtest 16: checkOutput
Passed: deprecated-list.html: following text found:
exception_test1 passes
Starting subtest 17: checkOutput
Passed: deprecated-list.html: following text found:
exception_test2 passes
Starting subtest 18: checkOutput
Passed: deprecated-list.html: following text found:
exception_test3 passes
Starting subtest 19: checkOutput
Passed: deprecated-list.html: following text found:
exception_test4 passes
Starting subtest 20: checkOutput
Passed: deprecated-list.html: following text found:
interface_test1 passes
Starting subtest 21: checkOutput
Passed: deprecated-list.html: following text found:
interface_test2 passes
Starting subtest 22: checkOutput
Passed: deprecated-list.html: following text found:
interface_test3 passes
Starting subtest 23: checkOutput
Passed: deprecated-list.html: following text found:
interface_test4 passes
Starting subtest 24: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation
Starting subtest 25: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation()
Starting subtest 26: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation.method()
Starting subtest 27: checkOutput
Passed: deprecated-list.html: following text found:
pkg.DeprecatedClassByAnnotation.field
Starting subtest 28: checkOutput
Passed: pkg/DeprecatedClassByAnnotation.html: following text found:
<pre>@Deprecated
public class <span class="typeNameLabel">DeprecatedClassByAnnotation</span>
extends java.lang.Object</pre>
Starting subtest 29: checkOutput
FAILED: pkg/DeprecatedClassByAnnotation.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public int field</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> </div>
Starting subtest 30: checkOutput
FAILED: pkg/DeprecatedClassByAnnotation.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public DeprecatedClassByAnnotation​()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> </div>
Starting subtest 31: checkOutput
Passed: pkg/DeprecatedClassByAnnotation.html: following text found:
<pre>@Deprecated
public void method​()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
Starting subtest 32: checkOutput
FAILED: pkg/TestAnnotationType.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">annotation_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
@Documented
public @interface <span class="memberNameLabel">TestAnnotationType</span></pre>
Starting subtest 33: checkOutput
FAILED: pkg/TestAnnotationType.html: following text not found:
<pre>@Deprecated(forRemoval=true)
static final int field</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">annotation_test4 passes.</span></div>
Starting subtest 34: checkOutput
FAILED: pkg/TestAnnotationType.html: following text not found:
<pre>@Deprecated(forRemoval=true)
int required</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">annotation_test3 passes.</span></div>
Starting subtest 35: checkOutput
Passed: pkg/TestAnnotationType.html: following text found:
<pre>java.lang.String optional</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">annotation_test2 passes.</span></div>
Starting subtest 36: checkOutput
FAILED: pkg/TestClass.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">class_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestClass</span>
extends java.lang.Object</pre>
Starting subtest 37: checkOutput
FAILED: pkg/TestClass.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public TestClass​()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">class_test3 passes.</span></div>
Starting subtest 38: checkOutput
FAILED: pkg/TestEnum.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">enum_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public enum <span class="typeNameLabel">TestEnum</span>
extends java.lang.Enum<<a href="../pkg/TestEnum.html" title="enum in pkg">TestEnum</a>></pre>
Starting subtest 39: checkOutput
FAILED: pkg/TestEnum.html: following text not found:
<pre>@Deprecated(forRemoval=true)
public static final <a href="../pkg/TestEnum.html" title="enum in pkg">TestEnum</a> FOR_REMOVAL</pre>
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span> <span class="deprecationComment">enum_test3 passes.</span></div>
Starting subtest 40: checkOutput
FAILED: pkg/TestError.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">error_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestError</span>
extends java.lang.Error</pre>
Starting subtest 41: checkOutput
FAILED: pkg/TestException.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">exception_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestException</span>
extends java.lang.Exception</pre>
Starting subtest 42: checkOutput
FAILED: pkg/TestInterface.html: following text not found:
<div class="block"><span class="deprecatedLabel">Deprecated, for removal: This API element is subject to removal in a future version. </span>
<div class="block"><span class="deprecationComment">interface_test1 passes.</span></div>
</div>
<br>
<pre>@Deprecated(forRemoval=true)
public class <span class="typeNameLabel">TestInterface</span>
extends java.lang.Object</pre>
Starting subtest 43: checkOutput
Passed: deprecated-list.html: following text found:
<ul>
<li><a href="#forRemoval">Deprecated For Removal</a></li>
<li><a href="#class">Deprecated Classes</a></li>
<li><a href="#enum">Deprecated Enums</a></li>
<li><a href="#exception">Deprecated Exceptions</a></li>
<li><a href="#error">Deprecated Errors</a></li>
<li><a href="#annotation.type">Deprecated Annotation Types</a></li>
<li><a href="#field">Deprecated Fields</a></li>
<li><a href="#method">Deprecated Methods</a></li>
<li><a href="#constructor">Deprecated Constructors</a></li>
<li><a href="#enum.constant">Deprecated Enum Constants</a></li>
<li><a href="#annotation.type.member">Deprecated Annotation Type Elements</a></li>
</ul>
Starting subtest 44: checkOutput
Passed: deprecated-list.html: following text found:
<a name="forRemoval">
Starting subtest 45: checkOutput
Passed: deprecated-list.html: following text found:
<table class="deprecatedSummary" summary="Deprecated For Removal table, listing deprecated for removal, and an explanation">
<caption><span>Deprecated For Removal</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Element</th>
<th class="colLast" scope="col">Description</th>
</tr>
Starting subtest 46: checkOutput
Passed: deprecated-list.html: following text found:
<table class="deprecatedSummary" summary="Deprecated Enums table, listing deprecated enums, and an explanation">
<caption><span>Deprecated Enums</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Enum</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="pkg/TestEnum.html" title="enum in pkg">pkg.TestEnum</a></th>
<td class="colLast">
<div class="block"><span class="deprecationComment">enum_test1 passes.</span></div>
</td>
</tr>
</tbody>
</table>
Starting subtest 47: checkOutput
Passed: deprecated-list.html: following text found:
<table class="deprecatedSummary" summary="Deprecated Exceptions table, listing deprecated exceptions, and an explanation">
<caption><span>Deprecated Exceptions</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Exceptions</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="pkg/TestException.html" title="class in pkg">pkg.TestException</a></th>
<td class="colLast">
<div class="block"><span class="deprecationComment">exception_test1 passes.</span></div>
</td>
</tr>
</tbody>
</table>
----------System.err:(14/805)----------
java.lang.Error: 12 of 47 subtests failed
at JavadocTester.printSummary(JavadocTester.java:682)
at JavadocTester.runTests(JavadocTester.java:253)
at TestDeprecatedDocs.main(TestDeprecatedDocs.java:39)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:563)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
- backported by
-
JDK-8178752 jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java failed due to some subtests failed
-
- Resolved
-
- relates to
-
JDK-8178079 jdk/javadoc/doclet/testModules/TestModules.java failed due to some subtests failed
-
- Closed
-