JDK-8211714 : Need to update vm_version.cpp to recognise VS2017 minor versions
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-10-04
  • Updated: 2020-06-17
  • Resolved: 2018-10-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 Other
11.0.2Fixed openjdk8u272Fixed
The hotspot source code doesn't display the correct MSVC++ version when
compiled by the following versions of VS2017:
MSVC++ 14.11 _MSC_VER == 1911 (Visual Studio 2017 version 15.3)
MSVC++ 14.14 _MSC_VER == 1914 (Visual Studio 2017 version 15.7)
MSVC++ 14.15 _MSC_VER == 1915 (Visual Studio 2017 version 15.8)

For ex., if the JDK is compiled with VS2017 15.7, it returns "unknown MSVC++: 1914" when run with -Xinternalversion.
Fix Request (8u) Backport to 8u requested because it is a prerequisite to JDK-8235243 that is a part of 8u271-oracle. Patch applies cleanly after paths re-shuffling, exported 8u-dev commit with original attribution: http://cr.openjdk.java.net/~akasko/jdk8u/8211714/8211714_8u.patch Testing: checked that it builds correctly on Windows (with vs2010 and vs2017) and on Linux.

11u Fix Request: This is a clean backport. Mach5 testing hs-tier1-4 are run and are clean.