Skip to content

Commit

Permalink
8256722: handle VC++:1927 VS2019 in abstract_vm_version
Browse files Browse the repository at this point in the history
Backport-of: e838d71
  • Loading branch information
MBaesken committed Mar 28, 2022
1 parent 588bdfa commit 146fe86
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/hotspot/share/runtime/abstract_vm_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,16 @@ const char* Abstract_VM_Version::internal_vm_info_string() {
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.2 (VS2019)"
#elif _MSC_VER == 1923
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.3 (VS2019)"
#elif _MSC_VER == 1924
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.4 (VS2019)"
#elif _MSC_VER == 1925
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.5 (VS2019)"
#elif _MSC_VER == 1926
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.6 (VS2019)"
#elif _MSC_VER == 1927
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.7 (VS2019)"
#elif _MSC_VER == 1928
#define HOTSPOT_BUILD_COMPILER "MS VC++ 16.8 (VS2019)"
#else
#define HOTSPOT_BUILD_COMPILER "unknown MS VC++:" XSTR(_MSC_VER)
#endif
Expand Down

1 comment on commit 146fe86

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.