Command line option '-version' cause segment fault
Brought to you by:
rlougher
I build jamvm with openjdk8.
-version cause segment fault.
This crash is triggered in src/classlib/openjdk/dll.c classlibDefaultBootDllPath(), which gets uninitialized string 'java_home'.
getJavaHome() need to ensure java_home is initialized before return this pointer.