Skip to content

Conversation

@DougGregor
Copy link
Member

Teach the low-level getJNIClass API to properly check for Java exceptions and turn them into Swift errors. Then add a higher-level API JavaClass.init(in:) to look up a specific imported Java class within the given environment.

Teach the low-level getJNIClass API to properly check for Java
exceptions and turn them into Swift errors. Then add a higher-level
API `JavaClass.init(in:)` to look up a specific imported Java class
within the given environment.
@DougGregor DougGregor merged commit 7025228 into swiftlang:main Oct 7, 2024
8 of 9 checks passed
@DougGregor DougGregor deleted the javaclass-lookup branch October 7, 2024 18:51
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.

Lgtm

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