8235243: handle VS2017 15.9 and VS2019 in abstract_vm_version

Reviewed-by: dholmes, mdoerr
This commit is contained in:
Matthias Baesken 2019-12-03 11:41:20 +01:00
parent ddb989de3d
commit fb830f6a53

View File

@ -227,6 +227,16 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.7 (VS2017)"
#elif _MSC_VER == 1915
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.8 (VS2017)"
#elif _MSC_VER == 1916
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.9 (VS2017)"
#elif _MSC_VER == 1920
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.0 (VS2019)"
#elif _MSC_VER == 1921
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.1 (VS2019)"
#elif _MSC_VER == 1922
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.2 (VS2019)"
#elif _MSC_VER == 1923
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.3 (VS2019)
#else
#define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
#endif