Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5055723

javadoc with -use option generates warning message in output

XMLWordPrintable

    • b58
    • generic
    • windows_2000


      ###@###.### 2004-06-01

      J2SE Version (please include all output from java -version flag):
       java version "1.5.0-beta2"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
       Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

      Does this problem occur on J2SE 1.4 or 1.4.1 or 1.4.2? Yes / No (pick one)
       No

      Operating System Configuration Information (be specific):
       Win 2K

      Bug Description:

       Running javadoc on an Annotation source file, with the -use option
       generates warning message in output

       "Internal error: package sets don't match: [] with: null"

       Also The use page is empty.

      Steps to Reproduce (be specific):

       MyAnnotation.java contains only the line
       public @interface MyAnnotation {}

       Windows command Prompt
       U:javadoc -source 1.5 -use -d docs -classpath .;"C:\Program Files\Java\jdk1.5.0
      \lib\tools.jar" MyAnn otation.java
       Loading source file MyAnnotation.java...
       Constructing Javadoc information...
       Standard Doclet version 1.5.0-beta2
       Building tree for all the packages and classes...
       Generating docs\MyAnnotation.html...
       Generating docs\package-frame.html...
       Generating docs\package-summary.html...
       Generating docs\package-tree.html...
       Generating docs\constant-values.html...
       Generating docs\class-use\MyAnnotation.html...
       Internal error: package sets don't match: [] with: null
       Generating docs\package-use.html...
       Building index for all the packages and classes...
       Generating docs\overview-tree.html...
       Generating docs\index-all.html...
       Generating docs\deprecated-list.html...
       Building index for all classes...
       Generating docs\allclasses-frame.html...
       Generating docs\allclasses-noframe.html...
       Generating docs\index.html...
       Generating docs\help-doc.html...
       Generating docs\stylesheet.css...


            jhosunw Jamie Ho (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: