-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.4.0
-
sparc
-
solaris_8
when the new javadoc is run on non-existing java files (negative testcase), it outputs a log message that xxx.java is being loaded. This behaviour is not found in older Javadoc.
Please find the output for non-existent file test.java using new JavaDoc
-----------------------------------------------------------------------
blr-sunray:/home/vr128054/jd-tests/newjavadoc/tests 64 % java -Dfile.encoding=EUC-JP -Xbootclasspath/p:/home/vr128054/gj/gjclasses3 -classpath /home/vr128054/gj/gjclasses3 com.sun.tools.javadoc.Main test.java
Loading source file test.java...
error: cannot read: test.java
1 error
Followed is the output of old Javadoc.
--------------------------------------
blr-sunray:/home/vr128054/jd-tests/newjavadoc/tests 65 % javadoc test.java
javadoc: No package, class, or source file found named test.java.
1 error
Please find the output for non-existent file test.java using new JavaDoc
-----------------------------------------------------------------------
blr-sunray:/home/vr128054/jd-tests/newjavadoc/tests 64 % java -Dfile.encoding=EUC-JP -Xbootclasspath/p:/home/vr128054/gj/gjclasses3 -classpath /home/vr128054/gj/gjclasses3 com.sun.tools.javadoc.Main test.java
Loading source file test.java...
error: cannot read: test.java
1 error
Followed is the output of old Javadoc.
--------------------------------------
blr-sunray:/home/vr128054/jd-tests/newjavadoc/tests 65 % javadoc test.java
javadoc: No package, class, or source file found named test.java.
1 error