siom79 / japicmp

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

New default method detected as METHOD_NEW_DEFAULT when BinaryIncompatible disabled and SourceIncompatible enabled #361

Closed WencongLiu closed 11 months ago

WencongLiu commented 11 months ago

Hello community,

I added a new default method to a class and only set SourceIncompatible to true. The BinaryIncompatible is set to false. The configuration is below: `false

true

`

But japicmp plugin detects that there is METHOD_NEW_DEFAULT. The version of japicmp is 0.17.1.1_m325.

Should adding default method to an interface be detected as METHOD_NEW_DEFAULT when only SourceIncompatible is set to true ?

siom79 commented 11 months ago

Duplicate of #289