-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
sparc
-
solaris_2.5.1
We got the following exception while tring to build the javadocs on the latest JDK1.2 workpace. I have appended the build log as well ..
$ gmake releasedocs
rm -rf ../.././build/solaris/release/doc/api ../.././build/doc/api
mkdir -p ../.././build/solaris/release/doc/api/images ../.././build/doc/api/images
mkdir -p /tmp/javadoc/sun/tools/java
cp sun/javac/RuntimeConstants.java /tmp/javadoc/sun/tools/java
../.././build/solaris/bin/java -green -mx128m -classpath ../.././build/solaris/classes sun.tools.javadoc.Main -d ../.././build/doc/api -sourcepath ../.././src/share/classes:/tmp/javadoc java.io java.lang java.lang.reflect java.util java.util.zlib java.awt java.awt.im java.awt.image java.awt.event java.java2d java.net java.applet java.sql java.rmi sun.tools.debug java.text java.beans org.omg.CORBA org.omg.CORBA.portable org.omg.CosNaming org.omg.CORBA.ORBPackage org.omg.CORBA.TypeCodePackage org.omg.CORBA.InterfaceDefPackage org.omg.CORBA.ContainedPackage org.omg.CORBA.ContainerPackage org.omg.CosNaming.NamingContextPackage
Loading source files for java.io
Loading source files for java.lang
Loading source files for java.lang.reflect
Loading source files for java.util
Warning: No source files for package java.util.zlib
Loading source files for java.awt
Loading source files for java.awt.im
Loading source files for java.awt.image
Loading source files for java.awt.event
Warning: No source files for package java.java2d
Loading source files for java.net
Loading source files for java.applet
Loading source files for java.sql
Loading source files for java.rmi
Loading source files for sun.tools.debug
Loading source files for java.text
Loading source files for java.beans
Loading source files for org.omg.CORBA
Loading source files for org.omg.CORBA.portable
Loading source files for org.omg.CosNaming
Loading source files for org.omg.CORBA.ORBPackage
Loading source files for org.omg.CORBA.TypeCodePackage
Loading source files for org.omg.CORBA.InterfaceDefPackage
Loading source files for org.omg.CORBA.ContainedPackage
Loading source files for org.omg.CORBA.ContainerPackage
Loading source files for org.omg.CosNaming.NamingContextPackage
sun.tools.java.CompilerError: checkMeet(), no abstract method
at sun.tools.java.MemberDefinition.checkMeet(MemberDefinition.java:583)
at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:966)
at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1085)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:846)
at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:122)
at sun.tools.javadoc.Info.getClassDefinition(Info.java:92)
at sun.tools.javadoc.PackageInfo.initInfo(PackageInfo.java:126)
at sun.tools.javadoc.JavaDocInfo.setPackages(JavaDocInfo.java:136)
at sun.tools.javadoc.Main.main(Main.java:408)
../.././src/share/classes/java/awt/Rectangle.java:50: The method Rectangle2D getBounds2D() declared in class java.awt.geom.Rectangle2D cannot override the method of the same signature declared in interface java.awt.Shape. They must have the same return type.
public class Rectangle extends Rectangle2D
^
../.././src/share/classes/java/awt/Rectangle.java:458: The method Rectangle2D getBounds2D() declared in class java.awt.geom.Rectangle2D cannot override the method of the same signature declared in interface java.awt.Shape. They must have the same return type.
public class Rectangle extends Rectangle2D
^
../.././src/share/classes/java/awt/Rectangle.java:458: The method Rectangle2D getBounds2D() declared in class java.awt.geom.Rectangle2D cannot override the method of the same signature declared in interface java.awt.Shape. They must have the same return type.
* This method is included for completeness, to parallel the
^
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
gmake: [javadocs] Error 1 (ignored)
$ gmake releasedocs
rm -rf ../.././build/solaris/release/doc/api ../.././build/doc/api
mkdir -p ../.././build/solaris/release/doc/api/images ../.././build/doc/api/images
mkdir -p /tmp/javadoc/sun/tools/java
cp sun/javac/RuntimeConstants.java /tmp/javadoc/sun/tools/java
../.././build/solaris/bin/java -green -mx128m -classpath ../.././build/solaris/classes sun.tools.javadoc.Main -d ../.././build/doc/api -sourcepath ../.././src/share/classes:/tmp/javadoc java.io java.lang java.lang.reflect java.util java.util.zlib java.awt java.awt.im java.awt.image java.awt.event java.java2d java.net java.applet java.sql java.rmi sun.tools.debug java.text java.beans org.omg.CORBA org.omg.CORBA.portable org.omg.CosNaming org.omg.CORBA.ORBPackage org.omg.CORBA.TypeCodePackage org.omg.CORBA.InterfaceDefPackage org.omg.CORBA.ContainedPackage org.omg.CORBA.ContainerPackage org.omg.CosNaming.NamingContextPackage
Loading source files for java.io
Loading source files for java.lang
Loading source files for java.lang.reflect
Loading source files for java.util
Warning: No source files for package java.util.zlib
Loading source files for java.awt
Loading source files for java.awt.im
Loading source files for java.awt.image
Loading source files for java.awt.event
Warning: No source files for package java.java2d
Loading source files for java.net
Loading source files for java.applet
Loading source files for java.sql
Loading source files for java.rmi
Loading source files for sun.tools.debug
Loading source files for java.text
Loading source files for java.beans
Loading source files for org.omg.CORBA
Loading source files for org.omg.CORBA.portable
Loading source files for org.omg.CosNaming
Loading source files for org.omg.CORBA.ORBPackage
Loading source files for org.omg.CORBA.TypeCodePackage
Loading source files for org.omg.CORBA.InterfaceDefPackage
Loading source files for org.omg.CORBA.ContainedPackage
Loading source files for org.omg.CORBA.ContainerPackage
Loading source files for org.omg.CosNaming.NamingContextPackage
sun.tools.java.CompilerError: checkMeet(), no abstract method
at sun.tools.java.MemberDefinition.checkMeet(MemberDefinition.java:583)
at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:966)
at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1085)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:846)
at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:122)
at sun.tools.javadoc.Info.getClassDefinition(Info.java:92)
at sun.tools.javadoc.PackageInfo.initInfo(PackageInfo.java:126)
at sun.tools.javadoc.JavaDocInfo.setPackages(JavaDocInfo.java:136)
at sun.tools.javadoc.Main.main(Main.java:408)
../.././src/share/classes/java/awt/Rectangle.java:50: The method Rectangle2D getBounds2D() declared in class java.awt.geom.Rectangle2D cannot override the method of the same signature declared in interface java.awt.Shape. They must have the same return type.
public class Rectangle extends Rectangle2D
^
../.././src/share/classes/java/awt/Rectangle.java:458: The method Rectangle2D getBounds2D() declared in class java.awt.geom.Rectangle2D cannot override the method of the same signature declared in interface java.awt.Shape. They must have the same return type.
public class Rectangle extends Rectangle2D
^
../.././src/share/classes/java/awt/Rectangle.java:458: The method Rectangle2D getBounds2D() declared in class java.awt.geom.Rectangle2D cannot override the method of the same signature declared in interface java.awt.Shape. They must have the same return type.
* This method is included for completeness, to parallel the
^
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
gmake: [javadocs] Error 1 (ignored)
- duplicates
-
JDK-4078378 New inheritance checks in compiler interfere with javadoc.
-
- Closed
-