Skip to content

jextract/jni: Fix code generation for optional String in tuples#724

Open
sidepelican wants to merge 1 commit intoswiftlang:mainfrom
sidepelican:fix_optional_string_in_tuple
Open

jextract/jni: Fix code generation for optional String in tuples#724
sidepelican wants to merge 1 commit intoswiftlang:mainfrom
sidepelican:fix_optional_string_in_tuple

Conversation

@sidepelican
Copy link
Copy Markdown
Contributor

Previously, there was a special handling logic for String within tuples, but this logic was not applied to String?, leading to incorrect output.

By leveraging the nativeJavaType introduced in #722, I was able to remove this special-case logic entirely.

@sidepelican sidepelican requested a review from ktoso as a code owner April 27, 2026 02:51
Copy link
Copy Markdown
Collaborator

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love removing edge cases :-)

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.

2 participants