Skip to content

Add JExtract JNI sample app #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 30, 2025
Merged

Conversation

madsodgaard
Copy link
Contributor

Adds a new sample app that actually does runtime "tests" for the new JNI mode for jextract.

@@ -0,0 +1,4 @@
{
"javaPackage": "com.example.swift",
"mode": "jni"
Copy link
Collaborator

Choose a reason for hiding this comment

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

😄

…elloJava2Swift.java

Co-authored-by: Konrad `ktoso` Malawski <konrad.malawski@project13.pl>
@ktoso
Copy link
Collaborator

ktoso commented Jun 30, 2025

Sadly can't just rename a public class in Java without also renaming the filename :)

Good that the testing works and failed properly though ;)

@ktoso
Copy link
Collaborator

ktoso commented Jun 30, 2025

Nice, let's include this and I'll make sure it works in the new macOS CI as well tomorrow

@ktoso ktoso merged commit 8c38d19 into swiftlang:main Jun 30, 2025
18 checks passed
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