Please review this PR.
SDK 10.15 and earlier reports os.version as 10.16 on Big Sur.  This fix will 
check if dynamic linker support, which is supported from Big Sur, is available 
or not on the OS even if os.version is reported as 10.16 instead of 11.  The 
os.version 10.16 doesn't include the update version like y of 10.x.y.  Hence 
the change only see if it is 10.16 or not.

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

Commit messages:
 - Remove trailing whtiespace
 - Move print-debug to the top
 - Print os.version for logging purpose
 - 8287917: System.loadLibrary does not work on Big Sur if JDK is built with 
macOS SDK 10.15 and earlier

Changes: https://git.openjdk.org/jdk/pull/9077/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9077&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8287917
  Stats: 5 lines in 2 files changed: 3 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/9077.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9077/head:pull/9077

PR: https://git.openjdk.org/jdk/pull/9077

Reply via email to