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

(spec) unclear spec for the constructor of javax.crypto.Cipher

XMLWordPrintable

      Name: iiR10263 Date: 10/30/2003



      The specification does not mention any exceptions for
      javax.crypto.Cipher.Cipher(CipherSpi cipherSpi, Provider provider,
      String transformation) protected method of javax.crypto.Cipher.
      But current implementation throws NullPointerException if any argument is
      null.

      The problem may be addressed by adding "Throws" section to the method
      specification.

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

            kdriver Kevin Driver
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: