RFR [11] JDK-8204152: SignedObject throws NullPointerException for null keys with an initialized Signature object

Xuelei Fan Xuelei.Fan at Oracle.Com
Mon Jun 18 20:53:39 UTC 2018


Looks fine to me.

Xuelei

> On Jun 18, 2018, at 1:24 PM, Valerie Peng <valerie.peng at oracle.com> wrote:
> 
> Hi
> 
> Can someone please help review this fix for addressing JCK test failure?
> Changes are very trivial, just check for null and thrown InvalidKeyException instead of letting NPE be thrown later.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8204152
> Webrev: http://cr.openjdk.java.net/~valeriep/8204152/webrev.00/
> 
> I have verified the fix by re-running the JCK tests.
> 
> Thanks,
> Valerie



More information about the security-dev mailing list