8324841: PKCS11 tests still skip execution

Reviewed-by: valeriep
This commit is contained in:
Matthew Donovan 2024-06-24 11:15:33 +00:00
parent ca5a438e5a
commit 9d4a4bd2c2

View File

@ -791,8 +791,8 @@ public abstract class PKCS11Test {
(tp, attr) -> tp.getFileName().equals(libraryName))) {
return files.findAny()
.orElseThrow(() -> new SkippedException(
"NSS library \"" + libraryName + "\" was not found in " + path));
.orElseThrow(() ->
new RuntimeException("NSS library \"" + libraryName + "\" was not found in " + path));
}
}