File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/jdk/sun/security/pkcs11 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public void main(Provider p) throws Exception {
127127 p11ks .load (null , PKCS11KS .passwd );
128128 printKeyStore ("Initial PKCS11 KeyStore: " , p11ks );
129129 } catch (Exception e ) {
130- throw new SkippedException ("Skip test, due to " + e );
130+ throw new SkippedException ("Skip test, due to " + e , e );
131131 }
132132
133133 // get the necessary keys from the temp keystore
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void main(Provider p) throws Exception {
4747 random = SecureRandom .getInstance ("PKCS11" );
4848 } catch (NoSuchAlgorithmException e ) {
4949 e .printStackTrace ();
50- throw new SkippedException ("Provider " + p + " does not support SecureRandom, skipping" );
50+ throw new SkippedException ("Provider " + p + " does not support SecureRandom, skipping" , e );
5151 }
5252 byte [] b = new byte [32 ];
5353 random .nextBytes (b );
You can’t perform that action at this time.
0 commit comments