< prev index next >

jdk/src/java.base/share/native/libjava/jdk_util.c

Print this page

        

*** 35,54 **** JDK_GetVersionInfo0(jdk_version_info* info, size_t info_size) { /* These VERSION_* macros are given by the build system */ const unsigned int version_major = VERSION_MAJOR; const unsigned int version_minor = VERSION_MINOR; const unsigned int version_security = VERSION_SECURITY; const unsigned int version_build = VERSION_BUILD; memset(info, 0, info_size); info->jdk_version = ((version_major & 0xFF) << 24) | ((version_minor & 0xFF) << 16) | ((version_security & 0xFF) << 8) | (version_build & 0xFF); ! // FIXME: update_version and special_update_version does not make sense anymore. ! info->update_version = 0; ! info->special_update_version = 0; info->thread_park_blocker = 1; // Advertise presence of sun.misc.PostVMInitHook: // future optimization: detect if this is enabled. info->post_vm_init_hook_enabled = 1; info->pending_list_uses_discovered_field = 1; --- 35,53 ---- JDK_GetVersionInfo0(jdk_version_info* info, size_t info_size) { /* These VERSION_* macros are given by the build system */ const unsigned int version_major = VERSION_MAJOR; const unsigned int version_minor = VERSION_MINOR; const unsigned int version_security = VERSION_SECURITY; + const unsigned int version_patch = VERSION_PATCH; const unsigned int version_build = VERSION_BUILD; memset(info, 0, info_size); info->jdk_version = ((version_major & 0xFF) << 24) | ((version_minor & 0xFF) << 16) | ((version_security & 0xFF) << 8) | (version_build & 0xFF); ! info->patch_version = version_patch; info->thread_park_blocker = 1; // Advertise presence of sun.misc.PostVMInitHook: // future optimization: detect if this is enabled. info->post_vm_init_hook_enabled = 1; info->pending_list_uses_discovered_field = 1;
< prev index next >