Skip to content

Use id<MyJavaInterface> instead of MyJavaInterface * in ObjectiveCKmpMethod#2747

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_914248968
May 18, 2026
Merged

Use id<MyJavaInterface> instead of MyJavaInterface * in ObjectiveCKmpMethod#2747
copybara-service[bot] merged 1 commit into
masterfrom
test_914248968

Conversation

@copybara-service
Copy link
Copy Markdown

Use id<MyJavaInterface> instead of MyJavaInterface * in ObjectiveCKmpMethod

Map java interfaces (translated to ObjC protocols) to id<MyJavaInterface> rather than MyJavaInterface *, which is incorrect in ObjC. Types that are specifically mapped, such as java.util.List, are not affected.

@copybara-service copybara-service Bot force-pushed the test_914248968 branch 2 times, most recently from effc8e1 to 0ef8b85 Compare May 18, 2026 08:24
…CKmpMethod

Map java interfaces (translated to ObjC protocols) to `id<MyJavaInterface>` rather than `MyJavaInterface *`, which is incorrect in ObjC. Types that are specifically mapped, such as `java.util.List`, are not affected.

PiperOrigin-RevId: 917081023
@copybara-service copybara-service Bot merged commit d23edce into master May 18, 2026
@copybara-service copybara-service Bot deleted the test_914248968 branch May 18, 2026 08:26
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