You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.041 s
[INFO] Finished at: 2025-01-07T16:38:30-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.23.0:cmp (default-cli) on project commons-digester3: There is at least one incompatibility: org.apache.commons.digester3.ObjectCreationFactory.getDigester():METHOD_ABSTRACT_NOW_DEFAULT,org.apache.commons.digester3.ObjectCreationFactory.setDigester(org.apache.commons.digester3.Digester):METHOD_ABSTRACT_NOW_DEFAULT -> [Help 1]
In this case, the change is from abstract to default in an interface.
Adding a default method, or changing a method from abstract to default, does not break compatibility with pre-existing binaries, but may cause an IncompatibleClassChangeError if a pre-existing binary attempts to invoke the method.
Therefore I have configured the Change METHOD_ABSTRACT_NOW_DEFAULT as incompatible.
Hi All:
According to the JLS 13.4.16. abstract Methods:
But japicmp reports a break when this happens in Apache Commons Digester:
yields:
In this case, the change is from
abstract
todefault
in an interface.Or am I missing something?
I am using:
TY!
The text was updated successfully, but these errors were encountered: