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

    Details

    • Subcomponent:
    • Resolved In Build:
      b46
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: