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

NPE in JCE engine classes with java.security.debug=provider

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b150
    • Verification:
      Verified

      Description

      Constructing/initializing/using some engine classes when java.security.debug=provider will result in a NullPointerException.

      Affected classes:
      java/security/KeyStore
      java/security/MessageDigest
      java/security/SecureRandom
      javax/crypto/KeyAgreement
      javax/crypto/KeyGenerator
      javax/crypto/Mac
      javax/crypto/Cipher
      (This issues causes javax/crypto/NullCipher/TestNPE.java to fail when java.security.debug=provider).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apetcher Adam Petcher (Inactive)
                Reporter:
                apetcher Adam Petcher (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: