RFR: 8341927: Replace hardcoded security providers with new test.provider.name system property
Matthew Donovan
mdonovan at openjdk.org
Fri Oct 25 17:31:06 UTC 2024
On Fri, 25 Oct 2024 12:53:04 GMT, Sean Mullan <mullan at openjdk.org> wrote:
> > I changed the name of the bug and PR. Yes there are cases where a test has more than one hardcoded provider.
>
> How would that work then if the property only allows you to specify one provider?
The tests with multiple, hardcoded providers do that because the SunJCE provider doesn't implement every engine/algorithm. I've seen this mostly with Signatures and KeyPairGenerators. A provider specified via the property would have to implement all of the operations used in the test.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21551#issuecomment-2438406536
More information about the serviceability-dev
mailing list