On Wed, 22 Apr 2020 18:46:29 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
> This PR adds support for Microsoft Visual Studio 2019 (VS 2019), but does not > change the default compiler, which > remains at VS 2017 15.9.16. Changing the build compiler to VS 2019 will be > proposed in a future PR using a new bug ID, > and isn't planned until after the JDK updates their compiler. In order to > allow developer builds to use Microsoft > Visual Studio 2019, we need the following changes at build time and runtime. > At build time: > > 1. Copy `vsruntime140_1.dll` (if present) to output `sdk/bin` dir > 2. Don't copy the unused `concrt140.dll` (it is not used in VS 2017 either) > > At runtime: > > 1. Load `vsruntime140_1.dll` if present > 2. Don't load the unused `concrt140.dll` > > Additionally, I removed two unused build variables, `ext.MSVCR` and > `ext.MSVCP`, which would otherwise have needed to > be updated. > I have done a full build and test run using both VS 2017 (which is still the > default), and VS 2019. Confirmed to work on our build systems. ------------- Marked as reviewed by jvos (Reviewer). PR: https://git.openjdk.java.net/jfx/pull/195