ppkarwasz commented on code in PR #3258:
URL: https://github.com/apache/logging-log4j2/pull/3258#discussion_r1966908684
##########
log4j-plugin-processor/src/main/java/org/apache/logging/log4j/plugin/processor/PluginProcessor.java:
##########
@@ -282,6 +315,25 @@ private String commonPrefix(final String str1, final
String str2) {
return str1.substring(0, minLength);
}
+ private static boolean isServiceConsumerClassPresent() {
+ try {
+ Class.forName("aQute.bnd.annotation.spi.ServiceConsumer");
+ return true;
Review Comment:
This looks for `ServiceConsumer` on the plugin processor's classpath, while
it should look for it on the application classpath.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]