JDK-8257222 : ��� Support for Apple Silicon
  • Type: Task
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 8,openjfx11,openjfx16
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2020-11-27
  • Updated: 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.
Other
tbdUnresolved
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Description
JavaFX needs to support MacOS systems that are using the ARM-based CPU's.
The required changes for this are very small, and come down to compiling with the appropriate flags (e.g. --target arm64-apple-macos11).

This requires XCode 12.2, while our current requirement is 11.3.

A first test indicates there are no source changes required for this, hence it can be considered to be a build issue only. 
There are at least 2 different build strategies:
* build 2 flavours of the SDKs/jmods and maven artifacts: one for x86_64 and one for arm64
* build a universal version for each library, so that only 1 version is needed. The drawback is that this results in bigger artifacts, although it only affects the native libraries.