On Thu, 4 May 2023 12:59:21 GMT, Sean Mullan wrote:
> I suggest the title of this issue should be changed to better reflect the
> proposed change: "Specify that SecureRandom.nextBytes(byte[]) throws
> NullPointerException when byte array is null".
Ok.
> Also, would you consider making the sam
On Thu, 4 May 2023 01:58:42 GMT, Valerie Peng wrote:
> Just a trivial change for enforcing consistent NullPointerException behavior
> for the SecureRandom.nextBytes(byte[]) method.
>
> Other similar methods such as Random.nextByte(byte[]) and its other
> subclasses all throw NPE for null byte[