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

Compiler crashes with stack overflow.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1
    • 1.1
    • tools
    • None
    • 1.1
    • 1.1
    • 1.1
    • sparc
    • solaris_2.5
    • Not verified



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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: