8198312: VS2017: Upgrade HOTSPOT_BUILD_COMPILER in vm_version.cpp
authorlfoltan
Mon, 26 Feb 2018 09:57:01 -0500
changeset 49166 2879dad8d4ec
parent 49165 75e2a82fed81
child 49167 ba9da6aaae36
8198312: VS2017: Upgrade HOTSPOT_BUILD_COMPILER in vm_version.cpp Summary: Correctly set HOTSPOT_BUILD_COMPILER for VS2015 and VS2017. Reviewed-by: erikj, gtriantafill
src/hotspot/share/runtime/vm_version.cpp
--- a/src/hotspot/share/runtime/vm_version.cpp	Mon Feb 26 09:51:14 2018 -0500
+++ b/src/hotspot/share/runtime/vm_version.cpp	Mon Feb 26 09:57:01 2018 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -216,6 +216,10 @@
         #define HOTSPOT_BUILD_COMPILER "MS VC++ 11.0 (VS2012)"
       #elif _MSC_VER == 1800
         #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 == 1912
+        #define HOTSPOT_BUILD_COMPILER "MS VC++ 15.5 (VS2017)"
       #else
         #define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
       #endif