backport from jdk-18 -------------
Commit messages: - JDK-8272639: jpackaged applications using microphone on mac Changes: https://git.openjdk.java.net/jdk17/pull/306/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=306&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8272639 Stats: 5 lines in 3 files changed: 4 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk17/pull/306.diff Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/306/head:pull/306 PR: https://git.openjdk.java.net/jdk17/pull/306