提交 4a3f6d44 编写于 作者: R robm

8145017: Add support for 3 digit hotspot minor version numbers

Reviewed-by: coffeys
上级 0bb0d1d0
......@@ -53,7 +53,7 @@ JDK_GetVersionInfo0(jdk_version_info* info, size_t info_size) {
const char* jdk_update_string = JDK_UPDATE_VERSION;
unsigned int jdk_update_version = 0;
int len_update_ver = 0;
char update_ver[3];
char update_ver[5];
char jdk_special_version = '\0';
/* If the JDK_BUILD_NUMBER is of format bXX and XX is an integer
......
......@@ -146,7 +146,7 @@ public class Version {
String regex = "^([0-9]{1,2})"; // major
regex += "\\."; // separator
regex += "([0-9]{1,2})"; // minor
regex += "([0-9]{1,3})"; // minor
regex += "(\\-b([0-9]{1,3}))"; // JVM -bxx
regex += ".*";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册