You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/11/07 03:29:31 UTC
[GitHub] [pulsar] nodece commented on a diff in pull request #18359: [improve][test] Remove conscrypt exception stacktrace in Apple silicon
nodece commented on code in PR #18359:
URL: https://github.com/apache/pulsar/pull/18359#discussion_r1014975215
##########
pulsar-common/src/main/java/org/apache/pulsar/common/util/SecurityUtility.java:
##########
@@ -124,7 +124,12 @@ private static Provider loadConscryptProvider() {
conscryptClazz = Class.forName("org.conscrypt.Conscrypt");
conscryptClazz.getMethod("checkAvailability").invoke(null);
} catch (Throwable e) {
- log.warn("Conscrypt isn't available. Using JDK default security provider.", e);
+ if (e.getCause() != null && e.getCause().getClass().getName().equals("java.lang.UnsatisfiedLinkError")) {
Review Comment:
Could we use `debug` instead of `warn`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org