RFR: 8279941: sun/security/pkcs11/Signature/TestDSAKeyLength.java fails when NSS version detection fails

Valerie Peng valeriep at openjdk.org
Tue Sep 20 20:04:46 UTC 2022


On Mon, 19 Sep 2022 17:01:40 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> The test helpers try to identify NSS version by parsing the relevant `.so` files (!) looking for "Version: ..." string. This fails at least on Ubuntu 22.04, where the NSS does not have any version-identifiable strings. In this case, the test "detects" version as `0.0` and then fails. After brief discussion in the bug, the best fix is to ignore `0.0` as well.
> 
> Additional testing: 
>  - [x] Linux x86_64 fastdebug, affected test now skipped on Ubuntu 22.04

One should be enough. Just a trivial change.

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

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



More information about the security-dev mailing list