RFR 8225180: SignedObject with invalid Key not throwing the InvalidKeyException in Windows

Sean Mullan sean.mullan at oracle.com
Tue Jun 11 21:00:25 UTC 2019


On 6/11/19 12:00 AM, Weijun Wang wrote:
> Oops, forgot to add the bug title in the subject.
> 
>> On Jun 11, 2019, at 11:56 AM, Weijun Wang <weijun.wang at oracle.com> wrote:
>>
>> Please take a review at
>>
>>    https://cr.openjdk.java.net/~weijun/8225180/webrev.00
>>
>> I added some extra info into the exception message not realizing it will be a bug. Revert back to previous code.

It is fine I guess, but you could workaround the null key if the 
additional info in the exception message is useful.

--Sean



More information about the security-dev mailing list