JDK-8210218 : WebKit build fails with newer versions of VS 2017
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u172,openjfx12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2018-08-30
  • Updated: 2019-01-10
  • Resolved: 2018-09-06
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
8u202Fixed openjfx11.0.2Fixed
Related Reports
Blocks :  
Description
The build of WebKit fails with duplicate symbols when building with a newer version of VS2017, for example VC 14.15.26726
Comments
+1 for the 11u-dev backport
10-01-2019

The patch at http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/c203627bae51 applies clean to 11-dev and I request a backport of this fix to 11-dev
10-01-2019

Changeset: c203627bae51 Author: arajkumar Date: 2018-09-06 10:32 +0530 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/c203627bae51 8210218: WebKit build fails with newer versions of VS 2017 Reviewed-by: kcr, jvos
06-09-2018

Root cause: There is a problem in the newer version(VC 14.15.26726) MSVC compiler which causes multiple symbol definition error when using lambda expression type in a function pointer argument. Problem is already reported to Visual Studio team and it is been discussed over here[1]. Solution: The proposed workaround is to use constexpr. https://github.com/javafxports/openjdk-jfx/pull/200 [1] https://developercommunity.visualstudio.com/content/problem/325062/msvs-151526726-throws-multiple-definition-error-wh.html
05-09-2018

This is a compiler bug, reported the same to Microsoft Visual Studio team, see below, https://developercommunity.visualstudio.com/content/problem/325062/msvs-151526726-throws-multiple-definition-error-wh.html Currently working to get a quick workaround for this issue.
31-08-2018