-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b10
-
generic
-
windows_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313232 | 8u401 | Hari Rakesh | P3 | Resolved | Fixed | b01 |
Testsuite name: Regression / Langtools
Test name: tools/javadoc/6964914/TestStdDoclet.java
JDK tested: JDK 9 b07
OS tested: Windows 7 32 bit and 64 bit
Test fails against JDK9 all builds. Test passes in 8u5 b13.
LOG:
----------System.err:(45/2501)*----------
Loading source file C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\TestStdDoclet.java...
Constructing Javadoc information...
Standard Doclet version 1.9.0-ea
Building tree for all the packages and classes...
Generating .\\TestStdDoclet.html...
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\JavacWarning.java:25: warning: '_' used as an identifier
String _ = null; // this will cause a warning. It may be deprecated in JDK8
^
(use of '_' as an identifier might not be supported in releases after Java SE 8)
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\Error.java:25: error: ';' expected
Object x // no semicolon
^
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\TestStdDoclet.java:37: warning - Tag @see: reference not found: DoesNotExist
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\TestStdDoclet.java:47: warning - Tag @see: reference not found: DoesNotExist
Generating .\\package-frame.html...
Generating .\\package-summary.html...
Generating .\\package-tree.html...
Generating .\\constant-values.html...
Building index for all the packages and classes...
Generating .\\overview-tree.html...
Generating .\\index-all.html...
Generating .\\deprecated-list.html...
Building index for all classes...
Generating .\\allclasses-frame.html...
Generating .\\allclasses-noframe.html...
Generating .\\index.html...
Generating .\\help-doc.html...
1 error
3 warnings
javadoc failed, rc:1
java.lang.Exception: actual warn count, 2, does not match reported warn count, 3
at TestStdDoclet.checkEqual(TestStdDoclet.java:97)
at TestStdDoclet.run(TestStdDoclet.java:88)
at TestStdDoclet.main(TestStdDoclet.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.Exception: actual warn count, 2, does not match reported warn count, 3
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: actual warn count, 2, does not match reported warn count, 3
Test name: tools/javadoc/6964914/TestStdDoclet.java
JDK tested: JDK 9 b07
OS tested: Windows 7 32 bit and 64 bit
Test fails against JDK9 all builds. Test passes in 8u5 b13.
LOG:
----------System.err:(45/2501)*----------
Loading source file C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\TestStdDoclet.java...
Constructing Javadoc information...
Standard Doclet version 1.9.0-ea
Building tree for all the packages and classes...
Generating .\\TestStdDoclet.html...
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\JavacWarning.java:25: warning: '_' used as an identifier
String _ = null; // this will cause a warning. It may be deprecated in JDK8
^
(use of '_' as an identifier might not be supported in releases after Java SE 8)
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\Error.java:25: error: ';' expected
Object x // no semicolon
^
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\TestStdDoclet.java:37: warning - Tag @see: reference not found: DoesNotExist
C:\\local\\aurora\\CommonData\\langtools\\test\\tools\\javadoc\\6964914\\TestStdDoclet.java:47: warning - Tag @see: reference not found: DoesNotExist
Generating .\\package-frame.html...
Generating .\\package-summary.html...
Generating .\\package-tree.html...
Generating .\\constant-values.html...
Building index for all the packages and classes...
Generating .\\overview-tree.html...
Generating .\\index-all.html...
Generating .\\deprecated-list.html...
Building index for all classes...
Generating .\\allclasses-frame.html...
Generating .\\allclasses-noframe.html...
Generating .\\index.html...
Generating .\\help-doc.html...
1 error
3 warnings
javadoc failed, rc:1
java.lang.Exception: actual warn count, 2, does not match reported warn count, 3
at TestStdDoclet.checkEqual(TestStdDoclet.java:97)
at TestStdDoclet.run(TestStdDoclet.java:88)
at TestStdDoclet.main(TestStdDoclet.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
JavaTest Message: Test threw exception: java.lang.Exception: actual warn count, 2, does not match reported warn count, 3
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: actual warn count, 2, does not match reported warn count, 3
- backported by
-
JDK-8313232 Test tools/javadoc/6964914/TestStdDoclet.java fails
- Resolved