Skip to content

Commit

Permalink
switch jce logging back to debug since the OracleJDK check is gone
Browse files Browse the repository at this point in the history
... thus it would always print a warning on non Open/Oracle JDK
  • Loading branch information
kares committed Sep 1, 2016
1 parent bd4465b commit 0355763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/util/SecurityHelper.java
Expand Up @@ -43,10 +43,10 @@ private static boolean setNonRestricted() {
return true;
}
catch (ClassNotFoundException e) {
LOG.info("unable un-restrict jce security: " + e);
if (LOG.isDebugEnabled()) LOG.debug("unable un-restrict jce security: " + e);
}
catch (Exception e) {
LOG.debug("unable un-restrict jce security: ", e);
if (LOG.isDebugEnabled()) LOG.debug("unable un-restrict jce security: ", e);
}
return false;
}
Expand Down

0 comments on commit 0355763

Please sign in to comment.