qos-ch/slf4j

[BUG] - JCL-Over-SLF4J Module Definition does not specify the service loader for JPMS applications

GedMarc opened this issue · 1 comments

Hey Guys,

The module definition for the jcl-over-slf4j unfortunately does not specify the service loader for org.apache.commons.logging.LogFactory

When executing applications in a built JRE (Using JLink or JPackage), the services are loaded from their module definitions, and the functionality is not loaded.

Could you please possible update the module definition -

module org.apache.commons.logging {
    requires org.slf4j;

    exports org.apache.commons.logging;
    
    provides org.apache.commons.logging.LogFactory with org.apache.commons.logging.impl.SLF4JLogFactory;
}

Much appreciated