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

Compiler crashes with stack overflow.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      1.1
    • Introduced In Version:
      1.1
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description



      Name: mc57594 Date: 01/20/97


      The javac compiler crashes with a stack overflow on compiling the
      kawa scheme interpeter. It seems that if I replace the blaket import of classes
      with explicit imports, the code compiles just fine. For example:
       
      import kawa.math.*

      is replaced with:

      import kawa.math.Numeric;
      import kawa.math.RatNum;
      import kawa.math.IntNum;

      The compiler shouldn't crash and I'm not sure *why* it is crashing. It almost
      seems like there are some problems with complex package includes. In the
      kawa distribution, some *strange* relationships exist between packages.

      codegen is used by everything.

      kawa.lang is used by kawa.math;
      kawa.math is used by kawa.lang;

      kawa.standard uses kawa.lang and kawa.math;

      Inside the packages, individual class inheritence is *not* circular, but the
      use of packages is circular.
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: