RFR: 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range. [v3]
Valerie Peng
valeriep at openjdk.org
Mon Aug 14 23:16:06 UTC 2023
On Mon, 14 Aug 2023 21:18:14 GMT, Sean Mullan <mullan at openjdk.org> wrote:
> I looked around, and I don't think there is an existing test that actually tests this behavior. So, I think we should add one. I think you can probably extend the existing `test/jdk/java/security/Provider/ChangeProviders.java` regression test and add more tests that try to insert the provider at various positions outside of the normal range (ex: -1, 0, n +1, n + 10) , and then checks that the provider was inserted at the end of the list.
Is a CSR needed? Now that we are enhancing existing javadoc for covering corner case scenarios?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14925#issuecomment-1678208809
More information about the security-dev
mailing list