Skip to content

Commit 246dbb7

Browse files
committed
adds comment on exception with simple name NotFound
[skip ci]
1 parent fe3a483 commit 246dbb7

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/org/jruby/ext/openssl/x509store

1 file changed

+2
-0
lines changed

src/main/java/org/jruby/ext/openssl/x509store/Store.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@ public int setDefaultPaths(Ruby runtime) throws Exception {
374374
// set_default_paths ignores FileNotFound
375375
}
376376
catch (IOException e) {
377+
// this is for older jrubies as they do not have a
378+
// org.jruby.util.ResourceException.NotFound
377379
if (!e.getClass().getSimpleName().equals("NotFound")) {
378380
throw e;
379381
}

0 commit comments

Comments
 (0)