-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2beta3
-
generic
-
solaris_2.5.1
-
Verified
javadoc is failing when using a doclet with the following exception. The standard doclet fails as well as my doclet (GenSwingBeanInfo).
hoyhoy% javadoc -d /tmp -doclet GenDocletBeanInfo src/com/sun/java/swing/JComponent.java
Building tree.
sun.tools.java.CompilerError: unresolved super
at sun.tools.java.ClassDefinition.getSuperClass(ClassDefinition.java:151)
at sun.tools.javadoc.ClassDoc.superclass(ClassDoc.java:139)
at sun.tools.javadoc.ClassDoc.<init>(ClassDoc.java:94)
at sun.tools.javadoc.ClassDoc.getClassDoc(ClassDoc.java:274)
at sun.tools.javadoc.Root.setClasses(Root.java:81)
at sun.tools.javadoc.Root.<init>(Root.java:65)
at sun.tools.javadoc.Main.initInner(Main.java:268)
at sun.tools.javadoc.Main.init(Main.java:229)
at sun.tools.javadoc.Main.main(Main.java:199)
javadoc: fatal error
1 error
hoyhoy% java -version
java version "1.2beta3"
hoyhoy%
hoyhoy% pwd
/home/richie/ws/swing-staging/build/share/tools/swing-beans
hoyhoy%
hoyhoy% javadoc -d /tmp -doclet GenDocletBeanInfo src/com/sun/java/swing/JComponent.java
Building tree.
sun.tools.java.CompilerError: unresolved super
at sun.tools.java.ClassDefinition.getSuperClass(ClassDefinition.java:151)
at sun.tools.javadoc.ClassDoc.superclass(ClassDoc.java:139)
at sun.tools.javadoc.ClassDoc.<init>(ClassDoc.java:94)
at sun.tools.javadoc.ClassDoc.getClassDoc(ClassDoc.java:274)
at sun.tools.javadoc.Root.setClasses(Root.java:81)
at sun.tools.javadoc.Root.<init>(Root.java:65)
at sun.tools.javadoc.Main.initInner(Main.java:268)
at sun.tools.javadoc.Main.init(Main.java:229)
at sun.tools.javadoc.Main.main(Main.java:199)
javadoc: fatal error
1 error
hoyhoy% java -version
java version "1.2beta3"
hoyhoy%
hoyhoy% pwd
/home/richie/ws/swing-staging/build/share/tools/swing-beans
hoyhoy%