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

IvParameterSpec: behavior for null arguments is not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • security-libs
    • b36
    • sparc
    • solaris_7
    • Verified

      Name: mtR10145 Date: 11/27/2003

      Both of IvParameterSpec contain "byte[]áiv" argument but
      the spec lacks information about behavior when this argument is null
      (current J2SE throws NPE).
      ======================================================================

      ###@###.### 2003-12-04

      The bug description needs to be clarified.

      Actually, IvParameterSpec(byte[], int, int) throws IllegalArgumentException
      if iv is null and IvParameterSpec(byte[]) throws NullPointerExcepton.


      Name: mtR10145 Date: 12/04/2003

      Note that this is a spec bug. No matter which exception
      is thrown by constructors currently - these exceptions are invalid since
      the spec does not mention them. Spec should clearly define
      constructors behavior for null arguments.

      ###@###.### 2003-12-04



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

            mullan Sean Mullan
            cmssunw Cms Cms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: