-
Bug
-
Resolution: Fixed
-
P2
-
14
-
b32
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8236885 | 15 | Anthony Scarpino | P2 | Resolved | Fixed | b06 |
JDK-8237416 | 14.0.1 | Unassigned | P2 | Resolved | Fixed | b01 |
It's observed that the the JDK implementation is deviating from the stated spec for permits method regarding throwing IAEx.
https://download.java.net/java/early_access/jdk14/docs/api/java.base/java/security/AlgorithmConstraints.html#permits(java.util.Set,java.lang.String,java.security.AlgorithmParameters)
"Throws:
IllegalArgumentException - if primitives or algorithm is null or empty"
It's not working for a case when primitives are empty and non null algorithm.
Please check the attached sample code demonstrating the problem
https://download.java.net/java/early_access/jdk14/docs/api/java.base/java/security/AlgorithmConstraints.html#permits(java.util.Set,java.lang.String,java.security.AlgorithmParameters)
"Throws:
IllegalArgumentException - if primitives or algorithm is null or empty"
It's not working for a case when primitives are empty and non null algorithm.
Please check the attached sample code demonstrating the problem
- backported by
-
JDK-8236885 AlgorithmConstraints:permits method not throwing IAEx when primitives are empty
-
- Resolved
-
-
JDK-8237416 AlgorithmConstraints:permits method not throwing IAEx when primitives are empty
-
- Resolved
-