Skip to content

Spring LogFactory implementation deviates from original Apache LogFactory in terms of abstract method declarationsΒ #31166

@Vituratic

Description

@Vituratic

Affects: spring-jcl 5.3.29


For the Spring version 5.3.29 the commit c7bc40d has been added. There seems to be an issue with this, breaking one of our projects, when we try to update from 5.3.28:
We are using the jaxb2-maven-plugin in version 2.5.0 with the additional dependency jaxb-xew-plugin in version 1.11. If we try to compile after updating we get the following error message:

Receiver class org.apache.commons.logging.LogFactoryService does not define or inherit an implementation of the resolved method 'abstract void release()' of abstract class org.apache.commons.logging.LogFactory.

Within xew they are using org.apache.commons.logging.LogFactory#release. From my understanding the issue is caused, because in the original implementation as of commons-logging 1.2 the release() method is abstract, while in spring-jcl it is not.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions