8009438: sun/security/pkcs11/Secmod tests failing on Ubuntu 12.04
Reviewed-by: vinnie
This commit is contained in:
parent
cf7cbcdce8
commit
e9806ae426
@ -756,8 +756,12 @@ public final class Secmod {
|
||||
if (DEBUG) System.out.println("handles: " + handles.length);
|
||||
|
||||
for (long handle : handles) {
|
||||
TrustAttributes trust = new TrustAttributes(token, session, handle);
|
||||
trustMap.put(trust.getHash(), trust);
|
||||
try {
|
||||
TrustAttributes trust = new TrustAttributes(token, session, handle);
|
||||
trustMap.put(trust.getHash(), trust);
|
||||
} catch (PKCS11Exception e) {
|
||||
// skip put on pkcs11 error
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
token.releaseSession(session);
|
||||
|
Loading…
Reference in New Issue
Block a user