On Fri, 22 Apr 2022 06:26:01 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

> Hi,
> 
> May I have the simple update reviewed.
> 
> In the NativeGSSContext constructor for imported context, the assert is use 
> on the object field, instead of the input parameters. As in a constructor, 
> `'this'` object does not exist yet, this looks like an obvious issue.  The 
> fix is straightforward as well. 
> 
> 
>     NativeGSSContext(long pCtxt, GSSLibStub stub) throws GSSException {
> -       assert(pContext != 0);
> +       assert(pCtxt != 0);
>         pContext = pCtxt;
>         ...

Marked as reviewed by valeriep (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/8355

Reply via email to