8010116: Abstract_VM_Version::internal_vm_info_string() should recognize VS2010 and VS2012
Summary: add cases for _MSC_VER == 1600 and 1700
Reviewed-by: zgu
--- a/hotspot/src/share/vm/runtime/vm_version.cpp Wed Feb 13 10:25:09 2013 +0100
+++ b/hotspot/src/share/vm/runtime/vm_version.cpp Thu Mar 14 13:22:04 2013 -0700
@@ -211,6 +211,10 @@
#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