RFR: patch for avoiding "unknown MS VC++: 1600"

Francis ANDRE francis.andre.kampbell at orange.fr
Thu Oct 3 00:53:18 PDT 2013


Hi

Running make test_jdk on a WXP/x86/VS2010 displays this message

$ make test_jdk
/cygdrive/z/DEV/OpenJDK_7u40/hotspot/build/windows/jdk-windows-i586/bin/java 
-d32 -client -Xinternal
version
OpenJDK Client VM (24.0-b56-internal) for windows-x86 JRE (1.7.0), built on Oct  
3 2013 08:33:06 by
"FrancisANDRE" with unknown MS VC++:1600


Here the patch for correcting the MS VC++ version

diff --git a/src/share/vm/runtime/vm_version.cpp 
b/src/share/vm/runtime/vm_version.cpp
--- a/src/share/vm/runtime/vm_version.cpp
+++ b/src/share/vm/runtime/vm_version.cpp
@@ -209,6 +209,8 @@
          #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)"
        #else
          #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
        #endif

Francis


More information about the hotspot-runtime-dev mailing list