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

Thu, 14 Mar 2013 13:22:04 -0700

author
kmo
date
Thu, 14 Mar 2013 13:22:04 -0700
changeset 4757
9960dce2024f
parent 4730
b7c2c5b2572c
child 4758
a40807924950

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

src/share/vm/runtime/vm_version.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/runtime/vm_version.cpp	Wed Feb 13 10:25:09 2013 +0100
     1.2 +++ b/src/share/vm/runtime/vm_version.cpp	Thu Mar 14 13:22:04 2013 -0700
     1.3 @@ -211,6 +211,10 @@
     1.4          #define HOTSPOT_BUILD_COMPILER "MS VC++ 8.0 (VS2005)"
     1.5        #elif _MSC_VER == 1500
     1.6          #define HOTSPOT_BUILD_COMPILER "MS VC++ 9.0 (VS2008)"
     1.7 +      #elif _MSC_VER == 1600
     1.8 +        #define HOTSPOT_BUILD_COMPILER "MS VC++ 10.0 (VS2010)"
     1.9 +      #elif _MSC_VER == 1700
    1.10 +        #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
    1.11        #else
    1.12          #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
    1.13        #endif

mercurial