Mercurial > hg > graal-compiler
comparison src/share/vm/prims/jvm.cpp @ 20690:d4caf9c96afd
8035893: JVM_GetVersionInfo fails to zero structure
Reviewed-by: sla, zgu
author | igerasim |
---|---|
date | Fri, 28 Feb 2014 16:00:40 +0400 |
parents | fe34c5ab0b35 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
20688:f913964f3fde | 20690:d4caf9c96afd |
---|---|
4542 } | 4542 } |
4543 JVM_END | 4543 JVM_END |
4544 | 4544 |
4545 JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size)) | 4545 JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size)) |
4546 { | 4546 { |
4547 memset(info, 0, sizeof(info_size)); | 4547 memset(info, 0, info_size); |
4548 | 4548 |
4549 info->jvm_version = Abstract_VM_Version::jvm_version(); | 4549 info->jvm_version = Abstract_VM_Version::jvm_version(); |
4550 info->update_version = 0; /* 0 in HotSpot Express VM */ | 4550 info->update_version = 0; /* 0 in HotSpot Express VM */ |
4551 info->special_update_version = 0; /* 0 in HotSpot Express VM */ | 4551 info->special_update_version = 0; /* 0 in HotSpot Express VM */ |
4552 | 4552 |