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

Assertion in NativeGSSContext constructor

    XMLWordPrintable

    Details

      Description

      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;
              ...


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: