From f537c82bab64d3fdf252d090954964eb4164d5e6 Mon Sep 17 00:00:00 2001 From: Vinnie Ryan Date: Tue, 13 Aug 2013 14:15:03 +0100 Subject: [PATCH] 8013170: Spec for PBEParameterSpec does not specify behavior when paramSpec is null Reviewed-by: mullan --- jdk/src/share/classes/javax/crypto/spec/PBEParameterSpec.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdk/src/share/classes/javax/crypto/spec/PBEParameterSpec.java b/jdk/src/share/classes/javax/crypto/spec/PBEParameterSpec.java index 8ea186e6b1e..4a17c40d0e0 100644 --- a/jdk/src/share/classes/javax/crypto/spec/PBEParameterSpec.java +++ b/jdk/src/share/classes/javax/crypto/spec/PBEParameterSpec.java @@ -64,7 +64,8 @@ public class PBEParameterSpec implements AlgorithmParameterSpec { * @param salt the salt. The contents of salt are copied * to protect against subsequent modification. * @param iterationCount the iteration count. - * @param paramSpec the cipher algorithm parameter specification. + * @param paramSpec the cipher algorithm parameter specification, which + * may be null. * @exception NullPointerException if salt is null. * * @since 1.8