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

continual stack overflows trying to compile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1
    • tools
    • None
    • sparc
    • solaris_2.5



      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
      ======================================================================

            jrose John Rose
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: