JDK-8035893 : JVM_GetVersionInfo fails to zero structure
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-02-26
  • Updated: 2015-04-13
  • Resolved: 2014-02-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8 JDK 9
6u95Fixed 7u80Fixed 8u40Fixed 9 b06Fixed
Related Reports
Relates :  
Description
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);

Comments
This is apparently the root cause of issue reported from outside. We need to backport this in a timely manner, So I upped the priority to P3 for now.
04-12-2014