On Tue, 18 Jul 2023 19:59:34 GMT, Ben Perez <d...@openjdk.org> wrote:
> Fixing the bug as stated would cause compatibility issues. E.g. the > `addProvider` function always adds new providers at position 0 and therefore > would always throw an error. Instead of changing how the function handles > indices, we instead have added this behavior to the function spec. This pull request has now been integrated. Changeset: 9435cd19 Author: Ben Perez <ben.pe...@oracle.com> Committer: Sean Mullan <mul...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/9435cd19165c9ffc3f19fd423f3706b1e37212d8 Stats: 19 lines in 2 files changed: 16 ins; 0 del; 3 mod 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range. Reviewed-by: mullan, valeriep ------------- PR: https://git.openjdk.org/jdk/pull/14925