JDK-8257897 : Fix webkit build for XCode 12
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: openjfx16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-12-08
  • Updated: 2021-02-23
  • Resolved: 2020-12-09
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
8u291Fixed openjfx11.0.11Fixed
Related Reports
Blocks :  
Blocks :  
Description
XCode 12 is required for building for Apple Silicon systems. 
The current webkit build however fails when using XCode 12.
Comments
Changeset: 7fa02fe2 Author: Arun Joseph <ajoseph@openjdk.org> Date: 2020-12-09 02:51:50 +0000 URL: https://git.openjdk.java.net/jfx/commit/7fa02fe2
09-12-2020

The upstream code for WebKit provide fixes for compile errors we currently see with XCode 12, e.g.: https://github.com/WebKit/webkit/blob/master/Source/WTF/wtf/PointerPreparations.h has ALWAYS_INLINE const void* getVTablePointer(T* o) { return __builtin_get_vtable_pointer(o); } ^^^^ The same file in the OpenJFX repo has a `void*` return type instead of a `const void*`, which gives an error.
08-12-2020