Skip to content

[BUG] Detect Breaking Changes check does not fail on new method added to an @PublicApi interface #16175

@sachinpkale

Description

@sachinpkale

Describe the bug

Related component

Build

To Reproduce

  • Add a method to any public interface.
    • It is possible that the bug exists only if the new method is overloaded method of existing method.
  • Raise PR against 2.x branch.
  • Detect Breaking Changes will not fail.

Expected behavior

  • For any new method introduced in a public interface, Detect Breaking Changes should fail unless a default implementation is provided.

Metadata

Metadata

Assignees

Labels

BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions