Skip to content

Correctly generate methods when overriding an interface with a default impl.#2754

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_917627069
May 20, 2026
Merged

Correctly generate methods when overriding an interface with a default impl.#2754
copybara-service[bot] merged 1 commit into
masterfrom
test_917627069

Conversation

@copybara-service
Copy link
Copy Markdown

Correctly generate methods when overriding an interface with a default impl.


When compiling for j2objc using ObjectiveCKmpMethod adapters, if a concrete implemention overrides a default method of an interface, we should generate the adapter method, otherwise it fails to compile.

@copybara-service copybara-service Bot force-pushed the test_917627069 branch 4 times, most recently from 93c4723 to 6b2e0a2 Compare May 20, 2026 08:00
…t impl.

---

When compiling for j2objc using ObjectiveCKmpMethod adapters, if a concrete implemention overrides a default method of an interface, we should generate the adapter method, otherwise it fails to compile.

PiperOrigin-RevId: 918284502
@copybara-service copybara-service Bot merged commit 4cbb05a into master May 20, 2026
@copybara-service copybara-service Bot deleted the test_917627069 branch May 20, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant