sun/security/pkcs11 tests checks if NSS libs are available on the machine, and run it an appropriate libs were found. The tests use the following mapping to find a path to libs on specific platforms: http://hg.openjdk.java.net/jdk9/dev/jdk/file/42f18c931bd4/test/sun/security/pkcs11/PKCS11Test.java#l613 See that tests for 9 support Mac. But tests for 8 don't: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/9c692f857417/test/sun/security/pkcs11/PKCS11Test.java#l496 The tests are pretty much the same for both JDK 8 and 9, so the tests for 8 may be probably updated to be run on Mac as well.
|