This PR updates PKCS11 tests to better handle NSS version numbers. The previous 
code treated the version numbers as double values and used comparison 
operators. The problem is that it incorrectly treats 3.111 as between 3.11 and 
3.12. This update parses and compares the major and minor version numbers 
separately.

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

Commit messages:
 - 8366182: Some PKCS11Tests are being skipped when they shouldn't

Changes: https://git.openjdk.org/jdk/pull/27095/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27095&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366182
  Stats: 90 lines in 6 files changed: 27 ins; 20 del; 43 mod
  Patch: https://git.openjdk.org/jdk/pull/27095.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27095/head:pull/27095

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

Reply via email to