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

Unspecified NPE in Cipher init(int, Key) and init(int, Key,

    XMLWordPrintable

    Details

      Description



      Name: ipR10067 Date: 06/02/2004




      The description of the Cipher.init(int opmode, java.security.Key key)
      and Cipher.init(int opmode, java.security.Key key, java.security.SecureRandom
      random)
      methods does not describe any exception, but java.security.InvalidKeyException.

      However the implementation throws NullPointerException
      when the parameter "key" is null.


      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              valeriep Valerie Peng
              Reporter:
              ipsunw Ip Ip (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: