RFR[9] JDK-8170523: Some PKCS11 test cases are ignored with security manager

John Jiang sha.jiang at oracle.com
Fri Dec 2 03:32:50 UTC 2016


Hi,
Some PKCS11 tests call PKCS11Test.getDistro(), which run command "uname 
-v", to determine the OS distro.
But if the tests enable security manager and don't grant appropriate 
file permission, PKCS11Test.getDistro() fails to get the distro.
Then, the associated cases will be ignored since the tests think that 
the OS is not the target.

Webrev: http://cr.openjdk.java.net/~jjiang/8170523/webrev.00/
Issue: https://bugs.openjdk.java.net/browse/JDK-8170523

Best regards,
John Jiang




More information about the security-dev mailing list