Skip to content

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 <[email protected]>
@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