|
Relates :
|
This is the same issue that had been fixed in jdk native code before (JDK-6989972).
It appears that it still exists in hotspot:
less ./share/vm/prims/jvm.cpp
JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size))
{
memset(info, 0, sizeof(info_size));
the last line should be
memset(info, 0, info_size);
|