JDK-8289952 : Visual Studio libs msvcp140_1.dll and msvcp140_2.dll missing from build
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 8,openjfx11,openjfx17,openjfx19
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2022-07-07
  • Updated: 2022-08-10
  • Resolved: 2022-07-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 8 Other
8u351Fixed openjfx17.0.5Fixed
Related Reports
Blocks :  
Blocks :  
Description
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. 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 functions that are only found in msvcp140_2.dll. We need to include these libraries as part of the JavaFX build along with msvcp140.dll (which is already included).
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jfx17u/pull/75 Date: 2022-08-09 12:18:51 +0000
09-08-2022

Changeset: cbb53b22 Author: Kevin Rushforth <kcr@openjdk.org> Date: 2022-07-11 12:47:57 +0000 URL: https://git.openjdk.org/jfx/commit/cbb53b22fc87e880d59ac3e217a86a4733d2b0f3
11-07-2022

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, 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.
07-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/818 Date: 2022-07-07 23:16:12 +0000
07-07-2022

This is a latent bug in the build system. It will block the upcoming WebKit 614.1 update, JDK-8285881.
07-07-2022