|
Quick Lists
|
|
Bug ID:
|
4936400
|
|
Votes
|
0
|
|
Synopsis
|
Test com/sun/javadoc/testNewLanguageFeatures still failing on windows
|
|
Category
|
doclet:tbd
|
|
Reported Against
|
tiger
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4938109,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
4934438
,
4938109
|
|
Submit Date
|
13-OCT-2003
|
|
Description
|
#Test Results (version 2)
#Sun Oct 12 19:51:56 PDT 2003
#checksum:1ee0821113d1e217
#-----testdescription-----
$file=D:\\ws\\tiger\\j2se\\test\\com\\sun\\javadoc\\testNewLanguageFeatures\\TestNewLanguageFeatures.java
$root=D:\\ws\\tiger\\j2se\\test
author=jamieh
keywords=bug4789689 bug4905985
library=../lib/
run=USER_SPECIFIED build JavadocTester\r\nUSER_SPECIFIED build TestNewLanguageFeatures\r\nUSER_SPECIFIED main TestNewLanguageFeatures\r\n
source=TestNewLanguageFeatures.java
title=Run Javadoc on a set of source files that demonstrate new language features
#-----environment-----
#-----testresult-----
description=file:///D:/ws/tiger/j2se/test/com/sun/javadoc/testNewLanguageFeatures/TestNewLanguageFeatures.java
end=Sun Oct 12 19:51:56 PDT 2003
environment=regtest
execStatus=Failed. Execution failed
javatestOS=Windows 2000 5.0 (x86)
javatestVersion=JT_2.1.3i
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile build compile build main
start=Sun Oct 12 19:51:52 PDT 2003
status=Failed. Execution failed
test=com/sun/javadoc/testNewLanguageFeatures/TestNewLanguageFeatures.java
work=C:\\tmp\\jt\\work\\com\\sun\\javadoc\\testNewLanguageFeatures
#section:script_messages
----------messages:(1/115)----------
JDK under test: java full version "1.5.0-internal-mr_12_oct_2003_14_17" (d:/ws/tiger/control/build/windows-i586/)
#section:build
----------messages:(3/117)----------
command: build JavadocTester
reason: User specified action: run build JavadocTester
elapsed time (seconds): 1.0
result: Passed. Compilation successful
#section:compile
----------messages:(3/198)*----------
command: compile D:\\ws\\tiger\\j2se\\test\\com\\sun\\javadoc\\testNewLanguageFeatures\\..\\lib\\JavadocTester.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.0
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/139)----------
command: build TestNewLanguageFeatures
reason: User specified action: run build TestNewLanguageFeatures
elapsed time (seconds): 0.797
result: Passed. Compilation successful
#section:compile
----------messages:(3/201)*----------
command: compile D:\\ws\\tiger\\j2se\\test\\com\\sun\\javadoc\\testNewLanguageFeatures\\TestNewLanguageFeatures.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.797
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/110)----------
command: build TestNewLanguageFeatures
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. No need to compile: TestNewLanguageFeatures.java
#section:main
----------messages:(3/136)----------
command: main TestNewLanguageFeatures
reason: User specified action: run main TestNewLanguageFeatures
elapsed time (seconds): 1.734
----------System.out:(185/7521)*----------
Running javadoc...
STDOUT:
Loading source files for package pkg...
Loading source files for package pkg2...
Constructing Javadoc information...
Standard Doclet version 1.5.0-internal
Building tree for all the packages and classes...
Generating 4789689-4905985\\pkg/\\AnnotationTypeUsage.html...
Generating 4789689-4905985\\pkg/\\TypeParameters.html...
Generating 4789689-4905985\\pkg/\\VarArgs.html...
Generating 4789689-4905985\\pkg/\\Wildcards.html...
Generating 4789689-4905985\\pkg/\\Coin.html...
Generating 4789689-4905985\\pkg/\\AnnotationType.html...
Generating 4789689-4905985\\pkg2/\\Foo.html...
Generating 4789689-4905985\\overview-frame.html...
Generating 4789689-4905985\\pkg/\\package-frame.html...
Generating 4789689-4905985\\pkg/\\package-summary.html...
Generating 4789689-4905985\\pkg/\\package-tree.html...
Generating 4789689-4905985\\pkg2/\\package-frame.html...
Generating 4789689-4905985\\pkg2/\\package-summary.html...
Generating 4789689-4905985\\pkg2/\\package-tree.html...
Generating 4789689-4905985\\constant-values.html...
Building index for all the packages and classes...
Generating 4789689-4905985\\overview-tree.html...
Generating 4789689-4905985\\index-all.html...
Generating 4789689-4905985\\deprecated-list.html...
Building index for all classes...
Generating 4789689-4905985\\allclasses-frame.html...
Generating 4789689-4905985\\allclasses-noframe.html...
Generating 4789689-4905985\\index.html...
Generating 4789689-4905985\\packages.html...
Generating 4789689-4905985\\overview-summary.html...
Generating 4789689-4905985\\help-doc.html...
Generating 4789689-4905985\\stylesheet.css...
2 warnings
Running subtest #1... Passed
found:
Enum Coin</H2> in 4789689-4905985\\pkg\\Coin.html
Running subtest #2... Passed
found:
public static enum <B>Coin</B><DT>extends java.lang.Enum<<A HREF="../pkg/Coin.html" title="enum in pkg">Coin</A>> in 4789689-4905985\\pkg\\Coin.html
Running subtest #3... Passed
found:
<B>Enum Constant Summary</B> in 4789689-4905985\\pkg\\Coin.html
Running subtest #4... Passed
found:
<B><A HREF="../pkg/Coin.html#Dime">Dime</A></B> in 4789689-4905985\\pkg\\Coin.html
Running subtest #5... Passed
found:
Class TypeParameters<E></H2> in 4789689-4905985\\pkg\\TypeParameters.html
Running subtest #6... Passed
found:
<DT><DT><B>Type Parameters:</B><DD><CODE>E</CODE> - the type parameter for this class.</DL> in 4789689-4905985\\pkg\\TypeParameters.html
Running subtest #7... Passed
found:
<DT><B>See Also:</B><DD><A HREF="../pkg/TypeParameters.html" title="class in pkg"><CODE>TypeParameters</CODE></A></DL> in 4789689-4905985\\pkg\\TypeParameters.html
Running subtest #8... Passed
found:
(<A HREF="../pkg/TypeParameters.html" title="type parameter in TypeParameters">E</A> param) in 4789689-4905985\\pkg\\TypeParameters.html
Running subtest #9... Passed
found:
<B>Type Parameters:</B><DD><CODE>T</CODE> - This is the first type parameter.<DD><CODE>V</CODE> - This is the second type parameter.<DT><B> in 4789689-4905985\\pkg\\TypeParameters.html
Running subtest #10... Passed
found:
public <T extends java.util.List,V> java.lang.String[] <B>methodThatHasTypeParameters</B> in 4789689-4905985\\pkg\\TypeParameters.html
Running subtest #11... Passed
found:
<A HREF="../pkg/TypeParameters.html" title="class in pkg">TypeParameters</A><? super java.lang.String> a in 4789689-4905985\\pkg\\Wildcards.html
Running subtest #12... Passed
found:
<A HREF="../pkg/TypeParameters.html" title="class in pkg">TypeParameters</A><? extends java.lang.StringBuffer> b in 4789689-4905985\\pkg\\Wildcards.html
Running subtest #13... Passed
found:
<A HREF="../pkg/TypeParameters.html" title="class in pkg">TypeParameters</A> c in 4789689-4905985\\pkg\\Wildcards.html
Running subtest #14... Passed
found:
warning - @param argument "<BadClassTypeParam>" is not a type parameter name. in WARNING_OUTPUT
Running subtest #15... Passed
found:
warning - @param argument "<BadMethodTypeParam>" is not a type parameter name. in WARNING_OUTPUT
Running subtest #16... Passed
found:
(int... i) in 4789689-4905985\\pkg\\VarArgs.html
Running subtest #17... Passed
found:
(int[][]... i) in 4789689-4905985\\pkg\\VarArgs.html
Running subtest #18... Passed
found:
(int[]...) in 4789689-4905985\\pkg\\VarArgs.html
Running subtest #19... Passed
found:
<A HREF="../pkg/TypeParameters.html" title="class in pkg">TypeParameters</A>... t in 4789689-4905985\\pkg\\VarArgs.html
Running subtest #20... Passed
found:
SUMMARY: <A HREF="#annotation_type_required_member_summary">REQUIRED</A> | <A HREF="#annotation_type_optional_member_summary">OPTIONAL</A> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #21... Passed
found:
DETAIL: <A HREF="#annotation_type_member_detail">MEMBER</A> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #22... Passed
found:
Annotation Type AnnotationType</H2> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #23... Passed
found:
public @interface <B>AnnotationType</B> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #24... Passed
found:
<B>Required Member Summary</B> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #25... Passed
found:
<B>Optional Member Summary</B> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #26... Passed
found:
Member Detail in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #27... Passed
found:
<B>Default:</B><DD>"unknown"</DD> in 4789689-4905985\\pkg\\AnnotationType.html
Running subtest #28... FAILED
for bug 4789689-4905985 (TestNewLanguageFeatures)
when searching for:
<FONT SIZE="-1">
<A HREF="../pkg/AnnotationType.html" title="annotation in pkg">@AnnotationType</A>(optional="Class Annotation",
required=1994)
</FONT>public class <B>AnnotationTypeUsage</B><DT>extends java.lang.Object</DL> in 4789689-4905985\\pkg\\AnnotationTypeUsage.html
Running subtest #29... FAILED
for bug 4789689-4905985 (TestNewLanguageFeatures)
when searching for:
<FONT SIZE="-1">
<A HREF="../pkg/AnnotationType.html" title="annotation in pkg">@AnnotationType</A>(optional="Field Annotation",
required=1994)
</FONT>public int <B>field</B> in 4789689-4905985\\pkg\\AnnotationTypeUsage.html
Running subtest #30... FAILED
for bug 4789689-4905985 (TestNewLanguageFeatures)
when searching for:
<FONT SIZE="-1">
<A HREF="../pkg/AnnotationType.html" title="annotation in pkg">@AnnotationType</A>(optional="Constructor Annotation",
required=1994)
</FONT>public <B>AnnotationTypeUsage</B>() in 4789689-4905985\\pkg\\AnnotationTypeUsage.html
Running subtest #31... FAILED
for bug 4789689-4905985 (TestNewLanguageFeatures)
when searching for:
<FONT SIZE="-1">
<A HREF="../pkg/AnnotationType.html" title="annotation in pkg">@AnnotationType</A>(optional="Method Annotation",
required=1994)
</FONT>public void <B>method</B>() in 4789689-4905985\\pkg\\AnnotationTypeUsage.html
Running subtest #32... Passed
not found:
<B>Constructor Summary</B> in 4789689-4905985\\pkg\\Coin.html
Running subtest #33... Passed
not found:
<A HREF="../pkg/TypeParameters.html" title="class in pkg">TypeParameters</A><<A HREF="../pkg/TypeParameters.html" title="type parameter in TypeParameters">E</A>> in 4789689-4905985\\allclasses-frame.html
----------System.err:(22/1191)*----------
D:\\ws\\tiger\\j2se\\test\\com\\sun\\javadoc\\testNewLanguageFeatures\\pkg\\TypeParameters.java:14: warning - @param argument "<BadClassTypeParam>" is not a type parameter name.
D:\\ws\\tiger\\j2se\\test\\com\\sun\\javadoc\\testNewLanguageFeatures\\pkg\\TypeParameters.java:35: warning - @param argument "<BadMethodTypeParam>" is not a type parameter name.
java.lang.Error:
4 of 33 subtests failed for bug 4789689-4905985 (TestNewLanguageFeatures)
at JavadocTester.printSummary(JavadocTester.java:265)
at TestNewLanguageFeatures.main(TestNewLanguageFeatures.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:549)
JavaTest Message: Test threw exception: java.lang.Error:
4 of 33 subtests failed for bug 4789689-4905985 (TestNewLanguageFeatures)
JavaTest Message: shutting down test
STATUS:Failed.
result: Failed. Execution failed
test result: Failed. Execution failed
|
|
Work Around
|
N/A
|
|
Evaluation
|
Accepted.
xxxxx@xxxxx 2003-10-15
The test is failing because the doclet has always had "\n" hard coded all over the place. It really should be using the system specified default new line separator. Marking this a duplicate of 4938109, which addresses the problem.
xxxxx@xxxxx 2003-10-26
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |