RFR: 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range. [v7]

Ben Perez duke at openjdk.org
Wed Aug 23 15:57:51 UTC 2023


> 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.

Ben Perez has updated the pull request incrementally with one additional commit since the last revision:

  Added bugid to ChangeProviders

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/14925/files
  - new: https://git.openjdk.org/jdk/pull/14925/files/1addeebf..1d64bf9e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14925&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14925&range=05-06

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14925.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14925/head:pull/14925

PR: https://git.openjdk.org/jdk/pull/14925



More information about the security-dev mailing list