Re: RFR 8176354: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" error

2017-09-20 Thread Xuelei Fan
Looks fine to me. Thanks, Xuelei On 9/20/2017 4:52 PM, Amanda Jiang wrote: Hi All, Please help to review following webrev for fixing a test issue: Bug: https://bugs.openjdk.java.net/browse/JDK-8176354 webrev: http://cr.openjdk.java.net/~amjiang/8176354/webrev.00/ Thanks, Amanda

RFR 8176354: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" error

2017-09-20 Thread Amanda Jiang
Hi All, Please help to review following webrev for fixing a test issue: Bug: https://bugs.openjdk.java.net/browse/JDK-8176354 webrev: http://cr.openjdk.java.net/~amjiang/8176354/webrev.00/ Thanks, Amanda

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
Sean, Rather than add those lines in my JDK installation, I'm going to add them in my JRE installation, specifically: C:\Program Files\Java\jre9b181\lib\security\default.policy. If this is different than what you intended, please let me know. The infinite recursion is happening when running wit

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
In case useful, our jnlp file also contains this: On Wed, Sep 20, 2017 at 2:14 PM, Tom Hood wrote: > Sean, > > I'll add those lines to the lib/security/default.policy file as you > suggested. I left the app running overnight and came in this morning and > it was stuck in the infinite recu

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Tom Hood
Sean, I'll add those lines to the lib/security/default.policy file as you suggested. I left the app running overnight and came in this morning and it was stuck in the infinite recursion loop again. I'll leave it running tonight as well with the default.policy change. How do I set java.security.

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread mandy chung
FYI.  jdk.javaws is granted with AllPermissions in conf/security/javaws.policy.   Maybe javaws.policy is not augmented to the security policy at runtime? Mandy On 9/20/17 12:45 PM, Sean Mullan wrote: Tom, Try adding the following lines to the lib/security/default.policy file in your JDK ins

Re: StackOverflowError - Java 9 Build 181

2017-09-20 Thread Sean Mullan
Tom, Try adding the following lines to the lib/security/default.policy file in your JDK installation: grant codeBase "jrt:/jdk.javaws" { permission java.security.AllPermission; }; I have a hunch that permissions are not being granted to the jdk.javaws module before it needs them. If that