Permissions in default.policy and --patch-module

2017-12-10 Thread Weijun Wang
I modified a class inside the jdk.crypto.cryptoki module, compiled it with "javac -d /tmp", and then ran a small program with java --patch-module jdk.crypto.cryptoki=/tmp -Djava.security.manager MyProg and it fails with TEST RESULT: Failed. Execution failed: `main' threw exception: java.secu

Re: RFR 8165996: PKCS11 using NSS throws an error regarding secmod.db when NSS uses sqlite

2017-12-10 Thread Weijun Wang
> On Dec 8, 2017, at 4:55 PM, Weijun Wang wrote: > > Hi Martin > > I've made some change and post a new webrev at > > http://cr.openjdk.java.net/~weijun/8165996/webrev.00/ More change in the same URL. - key4.db and cert9.db are saved in Secmod. - I modified the existing PKCS11Test/SecmodT

Re: Permissions in default.policy and --patch-module

2017-12-10 Thread Alan Bateman
On 11/12/2017 01:12, Weijun Wang wrote: I modified a class inside the jdk.crypto.cryptoki module, compiled it with "javac -d /tmp", and then ran a small program with java --patch-module jdk.crypto.cryptoki=/tmp -Djava.security.manager MyProg and it fails with TEST RESULT: Failed. Execution