RFR: (XS) 8162916:Test sun/security/krb5/auto/UnboundSSL.java fails

Weijun Wang weijun.wang at oracle.com
Fri Aug 19 02:17:27 UTC 2016


This is great. Change looks fine to me.

Thanks
Max

On 8/18/2016 23:28, Seán Coffey wrote:
> Thanks for the tip Artem, Max. No need to modify the policy file then.
> Below is the new suggested patch for jdk8u-dev. JPRT results are good.
>
> diff --git a/test/sun/security/krb5/auto/UnboundSSL.java
> b/test/sun/security/krb5/auto/UnboundSSL.java
> --- a/test/sun/security/krb5/auto/UnboundSSL.java
> +++ b/test/sun/security/krb5/auto/UnboundSSL.java
> @@ -34,9 +34,9 @@
>   * @bug 8025123
>   * @summary Checks if an unbound server can handle connections
>   *          only for allowed service principals
> - * @run main/othervm/policy=unbound.ssl.policy UnboundSSL
> + * @run main/othervm/java.security.policy=unbound.ssl.policy UnboundSSL
>   *                              unbound.ssl.jaas.conf server_star
> - * @run main/othervm/policy=unbound.ssl.policy UnboundSSL
> + * @run main/othervm/java.security.policy=unbound.ssl.policy UnboundSSL
>   *                              unbound.ssl.jaas.conf
> server_multiple_principals
>   */
>  public class UnboundSSL {
>
> Regards,
> Sean.
>
> On 18/08/2016 04:11, Weijun Wang wrote:
>>>>> If I recall correctly, there should be a way to specify a policy file
>>>>> in @run without overriding the default one. May be it is "@run
>>>>> main/othervm/java.security.policy=unbound.ssl.policy_new"
>>
>> Yes, I think this should work. I've also just learned about it and
>> don't know from which jtreg it is supported. Hopefully the
>> minimized-required version of jtreg for jdk8u already has it.
>>
>> --Max
>>
>



More information about the security-dev mailing list