RFR: JDK-8272639: jpackaged applications using microphone on mac

Andy Herrick herrick at openjdk.java.net
Mon Aug 23 13:36:27 UTC 2021


On Thu, 19 Aug 2021 22:46:18 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> JDK-8272639: jpackaged applications using microphone on mac
>
> src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/Info-lite.plist.template line 37:
> 
>> 35:   <string>true</string>
>> 36:   <key>NSMicrophoneUsageDescription</key>
>> 37:   <string>The application is requesting access to the microphone.</string>
> 
> Should not it include the "application name" here? This is different from the java tool, where we do not know that info in advance.

Yes - I will revise with name substituted here.
I also considered localizing this string, but we only support localization of the tool, which would put string in the local that jpackage was run in, not the local the generated artifact was run in.

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

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


More information about the core-libs-dev mailing list