On Wed, 21 Apr 2021 05:09:48 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> So on macOS 11 we enter this block since isMacOSX14 is false and the test 
>> passes ?
>
> No, it still fails in macosx11 without this modification. macos11, System 
> .getProperty returns 10.16 so it satisfies this macosx >=10.14 condition and 
> it bails out from this subtest.

Are you sure you are up to date ? There was a fix so that it returns 11

My build on my machine :
~/jdk.git/build/macosx-x86_64-server-release/jdk/bin/jshell
|  Welcome to JShell -- Version 17-internal
|  For an introduction type: /help intro

jshell> System.getProperty("os.version")
$1 ==> "11.2.3"

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

PR: https://git.openjdk.java.net/jdk/pull/3537

Reply via email to