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.
======================================================================
- duplicates
-
JDK-4027743 continual stack overflows trying to compile
-
- Closed
-
- relates to
-
JDK-4027499 Checks for package/class ambiguity are incomplete and perhaps incorrect.
-
- Closed
-