--- old/src/share/vm/runtime/vm_version.cpp 2012-01-31 13:12:58.760452013 +0100 +++ new/src/share/vm/runtime/vm_version.cpp 2012-01-31 13:12:58.648452007 +0100 @@ -165,6 +165,13 @@ return VM_RELEASE; } +// NOTE: do *not* use stringStream. this function is called by +// fatal error handlers. if the crash is in native thread, +// stringStream cannot get resource allocated and will SEGV. +const char* Abstract_VM_Version::jre_release_version() { + return JRE_RELEASE_VERSION; +} + #define OS LINUX_ONLY("linux") \ WINDOWS_ONLY("windows") \ SOLARIS_ONLY("solaris") \