-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
None
-
sparc
-
solaris_9
Consider the testcase.
----------------------
jtools-sqe:/home/vr128054/vertest/work 327 % more test.java
public class test
{
public abstract void doNothing ();
}
Find the JavaC behavior below (correct)
---------------------------------------
jtools-sqe:/home/vr128054/vertest/work 328 % javac test.java
test.java:1: test should be declared abstract; it does not define doNothing() in test
public class test
^
1 error
Find the Javadoc behaviour attached below (incorrect)
-----------------------------------------------------
jtools-sqe:/home/vr128054/vertest/work 329 % javadoc test.java
Loading source file test.java...
Constructing Javadoc information...
Standard Doclet version 1.4 beta (04 Aug 2001)
Building tree for all the packages and classes...
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 packages.html...
Generating test.html...
Generating package-list...
Generating help-doc.html...
Generating stylesheet.css...
----------------------
jtools-sqe:/home/vr128054/vertest/work 327 % more test.java
public class test
{
public abstract void doNothing ();
}
Find the JavaC behavior below (correct)
---------------------------------------
jtools-sqe:/home/vr128054/vertest/work 328 % javac test.java
test.java:1: test should be declared abstract; it does not define doNothing() in test
public class test
^
1 error
Find the Javadoc behaviour attached below (incorrect)
-----------------------------------------------------
jtools-sqe:/home/vr128054/vertest/work 329 % javadoc test.java
Loading source file test.java...
Constructing Javadoc information...
Standard Doclet version 1.4 beta (04 Aug 2001)
Building tree for all the packages and classes...
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 packages.html...
Generating test.html...
Generating package-list...
Generating help-doc.html...
Generating stylesheet.css...
- duplicates
-
JDK-4494500 javadoc spec: doesn't say how to handle erroneous input
-
- Closed
-