Skip to content

jextract: Remove emitting interface decl for known func interface#846

Open
AmrDeveloper wants to merge 2 commits into
swiftlang:mainfrom
AmrDeveloper:jextract_remove_emitting_unused_func_interfaces
Open

jextract: Remove emitting interface decl for known func interface#846
AmrDeveloper wants to merge 2 commits into
swiftlang:mainfrom
AmrDeveloper:jextract_remove_emitting_unused_func_interfaces

Conversation

@AmrDeveloper

Copy link
Copy Markdown
Contributor

Eliminate generating unnecessary functional interface declarations when it's known java functional interface

Issue #811

@AmrDeveloper AmrDeveloper requested a review from ktoso as a code owner July 15, 2026 19:55
@AmrDeveloper

Copy link
Copy Markdown
Contributor Author

Not sure if my understanding is correct, but in this place, cFunc is the function itself, not the closure

#844 (comment)

And even in the case of a closure, I think we need to not generate interfaces, but we need to generate the descriptors to be able to call runnable 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant