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

Compiler crashes with stack overflow.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 1.1
    • 1.1
    • tools
    • None
    • 1.1
    • 1.1
    • 1.1
    • sparc
    • solaris_2.5
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: