Name: mc57594 Date: 01/23/97
While recompiling existing source-code (compilable in 1.0,1.02) we
continually crash. The top of the stack trace says
`java.lang.StackOverflowError'. An edited copy of a typical stack-trace follows:
$ javac -d . TerseEngine.java
java.lang.StackOverflowError
at java.lang.String.substring(String.java)
at java.lang.String.substring(String.java)
at sun.tools.java.Identifier.getName(Identifier.java)
at sun.tools.java.Identifier.getFlatName(Identifier.java)
at sun.tools.java.Type.mangleInnerType(Type.java)
at sun.tools.java.Type.tClass(Type.java)
at sun.tools.java.Type.tClass(Type.java)
at sun.tools.java.Type.tClass(Type.java)
... (repeated ad nauseum)
at sun.tools.java.Type.tClass(Type.java)
at sun.tools.java.Type.tClass(Type.java)
at sun.tools.javac.BatchEnvironment.classExists(BatchEnvironment.java)
at sun.tools.java.Environment.classExists(Environment.java)
at sun.tools.java.Environment.classExists(Environment.java)
at sun.tools.java.Imports.importable(Imports.java)
at sun.tools.java.Imports.resolve(Imports.java)
at sun.tools.java.ImportEnvironment.resolve(Imports.java)
at sun.tools.java.Environment.resolve(Environment.java)
at sun.tools.java.Environment.resolveName(Environment.java)
at sun.tools.javac.SourceClass.resolveSuper(SourceClass.java)
at sun.tools.javac.SourceClass.resolveSupers(SourceClass.java)
at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java)
at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java)
at sun.tools.javac.Main.compile(Main.java)
at sun.tools.javac.Main.main(Main.java)
error: An error has occurred in the compiler; please file a bug report (###@###.###).
1 error
======================================================================
- duplicates
-
JDK-4026931 Compiler crashes with stack overflow.
-
- Closed
-