< prev index next >

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

Print this page
rev 48062 : 8192833: JEP 322: Time-Based Release Versioning

*** 32,44 **** #include "jdk_util.h" JNIEXPORT void 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) | --- 32,44 ---- #include "jdk_util.h" JNIEXPORT void 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_FEATURE; ! const unsigned int version_minor = VERSION_INTERIM; ! const unsigned int version_security = VERSION_UPDATE; 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) |
< prev index next >