RFR 8042900: Allow com.sun.security.jgss to be in different module than org.ietf.jgss
Wang Weijun
weijun.wang at oracle.com
Tue Sep 9 10:53:39 UTC 2014
On Sep 9, 2014, at 18:45, Wang Weijun <weijun.wang at oracle.com> wrote:
>> <test/sun/security/krb5/auto/Context.java>
>> 1) line 364: move it inside the if-block? Seems no value calling xstatus() when x is null.
>
> Correct.
>
>> 2) line 401: move it inside the if-block? Since if x is null, then there is no output following this println() call.
>
> No block needed if I move line 364 into if-block.
Answered too quickly.
The xstatus() method is for both ExtendedGSSContext and ExtendedGSSCredential (although no useless info for the latter now). I think I would keep my current code but pull the "if (cred != null)" block out of the "if (x != null)" one. Is that OK?
Thanks
Max
More information about the security-dev
mailing list