8010116: Abstract_VM_Version::internal_vm_info_string() should recognize VS2010 and VS2012

Add cases for _MSC_VER == 1600 and 1700

Reviewed-by: zgu
This commit is contained in:
Krystal Mo 2013-03-14 13:22:04 -07:00
parent bcbdbf9996
commit 79eaa97ca4

View file

@ -211,6 +211,10 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
#define HOTSPOT_BUILD_COMPILER "MS VC++ 8.0 (VS2005)"
#elif _MSC_VER == 1500
#define HOTSPOT_BUILD_COMPILER "MS VC++ 9.0 (VS2008)"
#elif _MSC_VER == 1600
#define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
#elif _MSC_VER == 1700
#define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
#else
#define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
#endif