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

javax.crypto.CipherSpi.engineUpdate(in,out) does not throw NPE when out is null

XMLWordPrintable

    • b46
    • sparc
    • solaris_9
    • Verified

      javax.crypto.CipherSpi.engineUpdate(ByteBuffer input, ByteBuffer output) does not throw a NullPointerException when output is null. According to the spec, a NPE should be thrown if either parameter is null. A NPE is correctly thrown if input is null.

            andreas Andreas Sterbenz
            pjr Paul Rank (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: