Loading... (original) (raw)
When building jdk9 with Solaris Studio 12u4, the build fails in hotspot with the following error:
"/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/utilities/stack.hpp", line 125: Error: The function static Stack<oopDesc*, 5>::default_segment_size() has not had a body defined.
The failing files are:
vmPSOperations.cpp
cmsCollectorPolicy.cpp
I managed to workaround the problem by just adding "#include "utilities/stack.inline.hpp" to both of these files, but I don't know if this is correct.