On Tue, 10 May 2022 22:01:16 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> Mat Carter has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Add test from wangweij
>
> test/jdk/sun/security/mscapi/AllTypes.java line 60:
> 
>> 58:             return true;
>> 59:         } catch (IOException ioe) {
>> 60:             if 
>> (ioe.getMessage().trim().endsWith("java.security.KeyStoreException: Access 
>> is denied.")) {
> 
> Could the message be different if the system language is not English?

I checked the API and its not guaranteed to be English.  I'm investigating a 
better method for detecting admin rights

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

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

Reply via email to