Test fails on macOS12 since the check was only upto macOS11..Extended the check for BigSurOrAbove.
------------- Commit messages: - Check BigSurOrAbove Changes: https://git.openjdk.java.net/jdk/pull/5434/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5434&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8273366 Stats: 10 lines in 1 file changed: 6 ins; 0 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/5434.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5434/head:pull/5434 PR: https://git.openjdk.java.net/jdk/pull/5434
