In case of infinite recursion on the Appkit Thread JVM crashes. The crash log is attached.
The simple test is to run the following program with -XstartOnFirstThread option.
public class TestInfiniteRecursion {
public static void main(String[] args) {
main(args);
}
}
The bug is reproducible always. The operating system version is Mac OS X 10.7.5. Reproducible with JDK7 and JDK8. Not reproducible with Apple JDK6.
Please note, that the crash occurs in any case of infinite recursion on the Appkit Thread, not only if the main method is infinitely invoked.