On Thu, 4 May 2023 12:59:21 GMT, Sean Mullan <mul...@openjdk.org> 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 same change to > `SecureRandom.setSeed(byte[])` as part of this change? I'm pretty sure all > JDK SR impls throw NPE if the array is null. Hmm, let me try it out. If the behavior is consistent NPE, I can include that as part of this PR/CSR as well. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13788#issuecomment-1535256656