[External] : Re: JPackage and ask for microphone permissions broken on OSX...

Andy Herrick andy.herrick at oracle.com
Wed Aug 25 14:35:03 UTC 2021


On 8/25/2021 9:40 AM, Alan Snyder wrote:
>
>
>> On Aug 24, 2021, at 6:52 AM, Andy Herrick <andy.herrick at oracle.com 
>> <mailto:andy.herrick at oracle.com>> wrote:
>>
>> One final thing to note, MacOS keeps track of what you have ever 
>> previously granted microphone permission to (and will never ask 
>> again) based on the mac package identifier (which defaults to the 
>> main class name), so I explicitly set this using a shell script with 
>> jpackage option "--mac-package-identifier audio-$1" option, so I can 
>> pass in different values and create a unique one each time.
>
> I’ve been wondering what you mean here.
>
> Are you saying that you routinely generate random package identifiers 
> or is this a workaround that you use in special circumstances?
>
>   Alan
>
no - I am just generating unique package identifiers to test this 
microphone permission dialog,

/Andy



More information about the core-libs-dev mailing list