- 
    Bug 
- 
    Resolution: Fixed
- 
     P5 P5
- 
    1.2.2
- 
        b04
- 
        x86
- 
        linux
- 
        Verified
Name: kaC94536 Date: 11/10/99
The following test crushes Linux VM:
----------------------------- test.java ------------------------
public class test {
static void Runner() {
Runner();
}
public static void main(String arg[]) {
try{
Runner();
} catch (Throwable e) {
System.out.println("Ok " + e);
}
}
}
-------------------------------- output --------------------------
$ /public/jdk/jdk1.2.2/linux/bin/java -fullversion
java full version "1.2.2-RC1"
$ /public/jdk/jdk1.2.2/linux/bin/java -Djava.compiler=javacomp test
Segmentation fault (core dumped)
------------------------------------------------------------------
Being run without JIT VM does everithing well:
-------------------------------- output --------------------------
$ /public/jdk/jdk1.2.2/linux/bin/java test
Warning: JIT compiler "sunwjit" not found. Will use interpreter.
Ok java.lang.StackOverflowError
======================================================================
======================================================================