siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
701 stars 107 forks source link

Check implemented interfaces for default methods of super interface #343

Closed zentol closed 1 year ago

zentol commented 1 year ago

Resolves an issue default methods weren't considered when the method was first declared in another interface higher up in the hierarchy. We now double-check for all discovered abstract methods whether an implemented interface has a default method for that method. We only accept such a default method if the interface containing it extends the interface with the original definition.