RFR: 8342442: Static ACVP sample tests [v8]
Weijun Wang
weijun at openjdk.org
Mon Nov 4 15:16:32 UTC 2024
On Mon, 4 Nov 2024 15:06:17 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> test/jdk/sun/security/provider/acvp/Launcher.java line 45:
>>
>>> 43: var provProp = System.getProperty("test.acvp.provider");
>>> 44: PROVIDER = provProp != null
>>> 45: ? Security.getProvider(provProp)
>>
>> How are errors in the provider prop reported? In a static block, will an uncaught exception provide enough/correct information to correct the supplied properties.
>
> Good catch. Will throw an exception.
The thrown exception is swallowed and a `java.lang.ExceptionInInitializerError` shows up. I will print something to `System.err`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21548#discussion_r1827895197
More information about the security-dev
mailing list