RFR: 8289952: Visual Studio libs msvcp140_1.dll and msvcp140_2.dll missing from build

Kevin Rushforth kcr at openjdk.org
Thu Jul 7 23:24:41 UTC 2022


On Thu, 7 Jul 2022 23:16:12 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> On Windows platforms we redistribute the Visual Studio runtime libraries with the JavaFX build so that JavaFX applications can run on systems that don't have them installed already. The main C++ runtime library is `msvcp140.dll`, which we ship along with the other native libraries for JavaFX. Additional C++ functionality has been added to `msvcp140_1.dll` and `msvcp140_2.dll`, neither of which are shipped.
> 
> Recently, WebKit has started using some standard C++ functions that are only found in `msvcp140_2.dll`. We need to include the two missing libraries as part of the JavaFX build (in addition to `msvcp140.dll`, which is already included).

NOTE: This really should have been done back when we updated to Visual Studio 2019, but we didn't do that because of [JDK-8281089](https://bugs.openjdk.org/browse/JDK-8281089), which would have caused a jlinked application to fail. Now that JDK-8281089 is fixed, we can now include these libraries and expect them to work even when using the JMODs with jlink.

-------------

PR: https://git.openjdk.org/jfx/pull/818


More information about the openjfx-dev mailing list