-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
minimal
-
Since we are simply changing a function spec to reflect existing behavior there is no compatibility risk
-
Java API
-
SE
Summary
Changed the specification for Security.insertProviderAt to explain behavior when position is less than 1 or greater than n.
Problem
The current specification for Security.insertProviderAt does not explain the behavior when the index is less than 1 or greater than n.
Solution
This text was added to the function specification
Specification
"If the position is less than 1 or greater than n, where n is the number of providers, the provider (if not already installed) is inserted at the end of the list, or at the n + 1 position."
- csr of
-
JDK-8175874 Update Security.insertProviderAt to specify behavior when requested position is out of range.
-
- Resolved
-