> On Aug 17, 2016, at 9:26 AM, Alexandre (Shura) Iline > <alexandre.il...@oracle.com> wrote: > > Before the suggested fix, the test in question would fail on a system with no > jdk.crypto.pkcs11. That could be emulated by: > $ jtreg ... -javaoptions:"-limitmods jdk.jartool" > jdk/security/jarsigner/Spec.java > ... > FAILED: jdk/security/jarsigner/Spec.java > ... > $ jtreg ... -javaoptions:"-limitmods jdk.jartool,jdk.crypto.pkcs11" > jdk/security/jarsigner/Spec.java > ... > Passed: jdk/security/jarsigner/Spec.java > ... > $
Thanks very much for the detailed answer. Just a small suggestion: Can you try using jdk.crypto.ec module instead? It also provides all EC-related algorithms and it is available and loaded out-of-box on all platforms? --Max