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

Aleksey Shipilev shade at openjdk.org
Tue Sep 20 20:15:16 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

This pull request has now been integrated.

Changeset: cddd6def
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cddd6def9f796a25137e0059e82053142747c001
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

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

Reviewed-by: valeriep

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

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



More information about the security-dev mailing list