# HG changeset patch # User lfoltan # Date 1519657021 18000 # Node ID 2879dad8d4ecbc27513260e2a18fb20b404e11ea # Parent 75e2a82fed815c478f404791ca5145767c7d24c9 8198312: VS2017: Upgrade HOTSPOT_BUILD_COMPILER in vm_version.cpp Summary: Correctly set HOTSPOT_BUILD_COMPILER for VS2015 and VS2017. Reviewed-by: erikj, gtriantafill diff -r 75e2a82fed81 -r 2879dad8d4ec 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