JDK-8320690 : sun/security/pkcs11/Provider/MultipleLogins.sh fails after 8295343
  • Type: Bug
  • Component: security-libs
  • Affected Version: 22
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • OS: linux,os_x
  • CPU: generic
  • Submitted: 2023-11-24
  • Updated: 2023-11-27
Related Reports
Relates :  
Description
After JDK-8295343 , sun/security/pkcs11/Provider/MultipleLogins.sh startsed to fail in our test infra (e.g. on Linux. Mac).
we get in stderr :
Exception in thread "main" jtreg.SkippedException: Warning: unsupported OS: Linux-amd64-64, please initialize NSS library location, skipping test
at PKCS11Test.getNSSLibPath(PKCS11Test.java:262)
at PKCS11Test.getNSSLibDir(PKCS11Test.java:243)
at PKCS11Test.getNSSLibDir(PKCS11Test.java:239)
at PKCS11Test.getNssConfig(PKCS11Test.java:484)
at MultipleLogins.main(MultipleLogins.java:49)

Probably Provider/MultipleLogins.sh still cannot deal correctly with the cases where now a SkippedException is thrown .
Comments
This is addressed in an existing PR https://github.com/openjdk/jdk/pull/16547
27-11-2023