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

(spec) String(byte[],int,int,String) missing NPE for byte []

XMLWordPrintable

    • mantis
    • generic
    • generic
    • Verified



      Name: ipR10067 Date: 06/17/2002



      The behavior of constructor String(byte[],int,int,String)
      is not specified for the case when the byte array is null.

      It looks like words "or the bytes array" are missing
      in phrase (instead of *)

      "Throws:
          ...
          NullPointerException - if charsetName * is null
      "
      of the description of the constructor.

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

            iris Iris Clark
            ipsunw Ip Ip (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: