On Tue, 6 Jul 2021 23:54:12 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

> This PR implements a version check in the JavaFX runtime initialization code 
> on macOS to ensure that the platform is running a version of macOS that is at 
> or above the minimum version. If the platform is below the specified minimum, 
> the JavaFX initialization code throws an exception.
> 
> The minimum version is passed from the `mac.gradle` file to the Mac glass 
> code as a pair of build time constants, which are compared at runtime to the 
> platform version.
> 
> Notes to reviewers:
> 
> * In case anyone is interested, the first commit has some debug logging which 
> will print the minimum version and the detected platform version. I removed 
> them with the second commit.

This pull request has now been integrated.

Changeset: 00b353e8
Author:    Kevin Rushforth <k...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/00b353e8f0afbe2b024b15463df867c6647d34be
Stats:     35 lines in 2 files changed: 34 ins; 0 del; 1 mod

8269967: JavaFX should fail fast on macOS below minimum version

Reviewed-by: jvos, arapte

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

PR: https://git.openjdk.java.net/jfx/pull/567

Reply via email to