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

AesDkCrypto.stringToKey should not return null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • security-libs
    • None

      When an exception occurs, null is returned. This can result in an NPE when the key is later used, making it difficult to identify the real issue. In fact, one can create a KerberosKey without any failure but its getEncoded() throws an NPE.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: