The Hotspot workspace uses a java program, MakeDeps, to build include
files from an include file database (includeDB).
Running MakeDeps fails with a clean b14 with a StackOverflowError.
There is a simple workaround: set ALT_BOOTDIR when building hotspot.
I found that it works if I use b13 javac generated class files. If I
use b13 generated class files except let b14 javac compile FileList.java,
it fails. (I didn't try mixing and matching other .class files so that
could be a red herring -- I picked that one because that's in the
recursion that's causing the StackOverflow).
I've attached a tar file containing a test directory with everything
that's need to reproduce the problem (please let me know if it's missing
anything). There's a script, doit, which shows what I tried. The results
of a run are in the file doit.out.
I've reproduced this problem on solaris/sparc and solaris/x86, and did
my experiments on solaris/sparc.
files from an include file database (includeDB).
Running MakeDeps fails with a clean b14 with a StackOverflowError.
There is a simple workaround: set ALT_BOOTDIR when building hotspot.
I found that it works if I use b13 javac generated class files. If I
use b13 generated class files except let b14 javac compile FileList.java,
it fails. (I didn't try mixing and matching other .class files so that
could be a red herring -- I picked that one because that's in the
recursion that's causing the StackOverflow).
I've attached a tar file containing a test directory with everything
that's need to reproduce the problem (please let me know if it's missing
anything). There's a script, doit, which shows what I tried. The results
of a run are in the file doit.out.
I've reproduced this problem on solaris/sparc and solaris/x86, and did
my experiments on solaris/sparc.