Skip to content

Escape generated JNI for @JavaImplementation methods#575

Merged
ktoso merged 2 commits intoswiftlang:mainfrom
PureSwift:feature/jni-callback-escaping
Mar 2, 2026
Merged

Escape generated JNI for @JavaImplementation methods#575
ktoso merged 2 commits intoswiftlang:mainfrom
PureSwift:feature/jni-callback-escaping

Conversation

@colemancda
Copy link
Contributor

Fix generated JNI for @JavaImplementation methods by escaping underscores and other characters correctly.

@colemancda colemancda requested a review from ktoso as a code owner February 26, 2026 18:54
Copy link
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.

Looks good, thanks for linking the relevant JNI docs

Needs to get the CI failure fixed, sadly didn't grant me maintainer edit rights so wasn't able to apply myself :)

@colemancda colemancda force-pushed the feature/jni-callback-escaping branch from e8cea66 to 967b9f1 Compare February 28, 2026 02:36
@colemancda colemancda requested a review from ktoso February 28, 2026 02:37
@ktoso ktoso merged commit 7ea32d2 into swiftlang:main Mar 2, 2026
50 checks passed
@ktoso
Copy link
Collaborator

ktoso commented Mar 2, 2026

Thank you!

@colemancda colemancda deleted the feature/jni-callback-escaping branch March 2, 2026 14:06
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