RFR[14] 8236098:AlgorithmConstraints:permits method not throwing IAEx when primitives are empty

Anthony Scarpino anthony.scarpino at oracle.com
Tue Jan 7 19:40:38 UTC 2020


FYI, there is no test included because the JCK test already exists.

On 1/7/20 11:39 AM, Anthony Scarpino wrote:
> Hi,
> 
> I need a code review for a JCK issue where the AlgorithmConstraints spec 
> says that permits() with a null or empty primitives throws an 
> IllegalArgumentsException.  The code currently allows no primitive and 
> continues with the check.  Additionally, there was a needed change to 
> JSSE SeverHello that was sending a null primitives.
> 
> https://cr.openjdk.java.net/~ascarpino/8236098/webrev/
> 
> Tony



More information about the security-dev mailing list