< prev index next >
hotspot/src/share/vm/prims/jvm.cpp
Print this page
*** 3654,3665 ****
JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size))
{
memset(info, 0, info_size);
info->jvm_version = Abstract_VM_Version::jvm_version();
! info->update_version = 0; /* 0 in HotSpot Express VM */
! info->special_update_version = 0; /* 0 in HotSpot Express VM */
// when we add a new capability in the jvm_version_info struct, we should also
// consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat
// counter defined in runtimeService.cpp.
info->is_attachable = AttachListener::is_attach_supported();
--- 3654,3664 ----
JVM_ENTRY(void, JVM_GetVersionInfo(JNIEnv* env, jvm_version_info* info, size_t info_size))
{
memset(info, 0, info_size);
info->jvm_version = Abstract_VM_Version::jvm_version();
! info->patch_version = 0;
// when we add a new capability in the jvm_version_info struct, we should also
// consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat
// counter defined in runtimeService.cpp.
info->is_attachable = AttachListener::is_attach_supported();
< prev index next >