We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have to following code in version 1.0.0:
interface A { } interface B extends A { } abstract class BAbstract implements B { } class BImpl extends BAbstract { }
In version 1.0.1 we add the method foo with a default implementation to A:
interface A { default void foo() { // ... } }
japi-cmp produces the following incompatiblity:
JApiClass [fullyQualifiedName=BImpl, changeStatus=UNCHANGED, compatibilityChanges=[METHOD_ABSTRACT_ADDED_IN_IMPLEMENTED_INTERFACE]]
Expected is METHOD_DEFAULT_ADDED_IN_IMPLEMENTED_INTERFACE
The Problem does not occur when the version number is changed to 1.1.0
The bug can be produced in the github repo https://github.com/miKerscher/japi-cmp-repoduce-issue-276/ The master branch contains version 1.0.0 The branch dev-1.0.1 contains version 1.0.1
The text was updated successfully, but these errors were encountered:
I've run into this many times as well, it is quite counterintuitive!
Sorry, something went wrong.
Added new compatibilty change METHOD_DEFAULT_ADDED_IN_IMPLEMENTED_INTERFACE.
METHOD_DEFAULT_ADDED_IN_IMPLEMENTED_INTERFACE
Thank you for your fast response. When will the new version with the fix be available?
Released with 0.15.1
No branches or pull requests
We have to following code in version 1.0.0:
In version 1.0.1 we add the method foo with a default implementation to A:
japi-cmp produces the following incompatiblity:
JApiClass [fullyQualifiedName=BImpl, changeStatus=UNCHANGED, compatibilityChanges=[METHOD_ABSTRACT_ADDED_IN_IMPLEMENTED_INTERFACE]]
Expected is METHOD_DEFAULT_ADDED_IN_IMPLEMENTED_INTERFACE
The Problem does not occur when the version number is changed to 1.1.0
The bug can be produced in the github repo https://github.com/miKerscher/japi-cmp-repoduce-issue-276/
The master branch contains version 1.0.0
The branch dev-1.0.1 contains version 1.0.1
The text was updated successfully, but these errors were encountered: