In my beta3 workspace, if I touch the file Shape.java, I am unable to then
do an increment recompile:
% cd <myworkspace>
% cd build/solaris/java/awt
% touch ../../../../src/share/classes/java/awt/Shape.java
% gnumake
I get the following stack traceback from the compiler:
if [ -s .classes.list ] ; then ../../bin/java -green -ms16m -mx64m -Djava.compiler=sunwjit -classpath ../../classes sun.tools.javac.Main -classpath ../../classes:../../../../src/solaris/classes:../../../../src/share/classes -d ../../classes ../../../../src/share/classes/java/awt/Shape.java ; fi
sun.tools.java.CompilerError: unresolved super
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at sun.tools.java.CompilerError.<init>(Compiled Code)
at sun.tools.java.ClassDefinition.getSuperClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.ClassDefinition.getInheritableMethods(Compiled Code)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
at sun.tools.java.BinaryClass.loadNested(Compiled Code)
at sun.tools.javac.BatchEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
at sun.tools.java.BinaryClass.loadNested(Compiled Code)
at sun.tools.javac.BatchEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinitionNoCheck(Compiled Code)
at sun.tools.java.Imports.resolve(Compiled Code)
at sun.tools.javac.SourceClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Compiled Code)
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
gnumake: *** [.compile.classlist] Error 4
do an increment recompile:
% cd <myworkspace>
% cd build/solaris/java/awt
% touch ../../../../src/share/classes/java/awt/Shape.java
% gnumake
I get the following stack traceback from the compiler:
if [ -s .classes.list ] ; then ../../bin/java -green -ms16m -mx64m -Djava.compiler=sunwjit -classpath ../../classes sun.tools.javac.Main -classpath ../../classes:../../../../src/solaris/classes:../../../../src/share/classes -d ../../classes ../../../../src/share/classes/java/awt/Shape.java ; fi
sun.tools.java.CompilerError: unresolved super
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at sun.tools.java.CompilerError.<init>(Compiled Code)
at sun.tools.java.ClassDefinition.getSuperClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.ClassDefinition.getInheritableMethods(Compiled Code)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.ClassDefinition.collectOneClass(Compiled Code)
at sun.tools.java.ClassDefinition.collectInheritedMethods(Compiled Code)
at sun.tools.java.BinaryClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
at sun.tools.java.BinaryClass.loadNested(Compiled Code)
at sun.tools.javac.BatchEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.java.BinaryClass.initInnerClasses(Compiled Code)
at sun.tools.java.BinaryClass.loadNested(Compiled Code)
at sun.tools.javac.BatchEnvironment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Compiled Code)
at sun.tools.java.Environment.loadDefinition(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinitionNoCheck(Compiled Code)
at sun.tools.java.Imports.resolve(Compiled Code)
at sun.tools.javac.SourceClass.basicCheck(Compiled Code)
at sun.tools.java.ClassDeclaration.getClassDefinition(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Compiled Code)
error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
1 error
gnumake: *** [.compile.classlist] Error 4
- duplicates
-
JDK-4105911 A collectInheritedMethods() compiler error.
-
- Closed
-