8211714: Need to update vm_version.cpp to recognise VS2017 minor versions

Reviewed-by: dholmes
This commit is contained in:
Muthusamy Chinnathambi 2018-10-11 15:49:23 -07:00 committed by Kevin Walls
parent 7ea2bd922b
commit b3de6ff3a6

View File

@ -218,10 +218,16 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
#define HOTSPOT_BUILD_COMPILER "MS VC++ 12.0 (VS2013)"
#elif _MSC_VER == 1900
#define HOTSPOT_BUILD_COMPILER "MS VC++ 14.0 (VS2015)"
#elif _MSC_VER == 1911
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.3 (VS2017)"
#elif _MSC_VER == 1912
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.5 (VS2017)"
#elif _MSC_VER == 1913
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.6 (VS2017)"
#elif _MSC_VER == 1914
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.7 (VS2017)"
#elif _MSC_VER == 1915
#define HOTSPOT_BUILD_COMPILER "MS VC++ 15.8 (VS2017)"
#else
#define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
#endif