RFR [8046343] (smartcardio) CardTerminal.connect('direct') does not work on MacOSX

Mandy Chung mandy.chung at oracle.com
Wed Jul 16 02:44:45 UTC 2014


But someone could modify the default permissions and take out the 
PropertyPermission for "os.name", right?

Mandy

On 7/15/2014 6:19 PM, Wang Weijun wrote:
> There is no permission needed to get the "os.name" property. The global jre/lib/security/java.policy file also granted all codes to get that.
>
> --Max
>
> On Jul 15, 2014, at 23:27, Sean Mullan <sean.mullan at oracle.com> wrote:
>
>> 2. The code on lines 65-69 introduces an undesirable dependency on sun.security.action for the JDK 9 modularization work. Please replace this with a nested PrivilegedAction subclass, or a lambda expression instead:
>>
>> AccessController.doPrivileged((PrivilegedAction<String>) () -> System.getProperty("os.name"));




More information about the security-dev mailing list