Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285431

Assertion in NativeGSSContext constructor

XMLWordPrintable

      In the NativeGSSContext constructor for imported context, the assert is use on the object field, instead of the input parameters. As the NativeGSSContext object does not exist yet, this looks like an obvious issue.

          NativeGSSContext(long pCtxt, GSSLibStub stub) throws GSSException {
      - assert(pContext != 0);
      + assert(pCtxt != 0);
              pContext = pCtxt;
              ...


            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: