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

oak.tools.oak.InternalError stackSize <error>

XMLWordPrintable

    • 0.9internal
    • sparc
    • generic
    • Not verified

      The program in ~chan/oakbugs/badcode.2.oak causes the oakc compiler
      to emit the following message:

      oak.tools.oak.InternalError stackSize <error>
              at oak.lang.Exception.<init>(Exception.oak:58)
              at oak.tools.oak.InternalError.<init>(InternalError.oak)
              at oak.tools.oak.Type.stackSize(Type.oak)
              at oak.tools.tree.Context.declare(Context.oak)
              at oak.tools.tree.VarDeclarationStatement.checkDeclaration(VarDeclarationStatement.oak)
              at oak.tools.tree.DeclarationStatement.check(DeclarationStatement.oak)
              at oak.tools.tree.CompoundStatement.check(CompoundStatement.oak)
              at oak.tools.tree.IfStatement.check(IfStatement.oak)
              at oak.tools.tree.CompoundStatement.check(CompoundStatement.oak)
              at oak.tools.tree.Statement.checkMethod(Statement.oak)
      oakc: an exception has occurred, please contact x47242.

            ahoffsunw Arthur Hoff (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: