Skip to content

Conversation

@DougGregor
Copy link
Member

@DougGregor DougGregor commented Oct 7, 2024

Add options for the class path (so clients don't need to re-learn how to
spell it) and for telling the JVM whether to ignore unrecognized arguments.

While here, reduce the JNI requirements down to JDK/JRE 1.6. We don't use any of the newer APIs. This addresses the functional part of #12

Add options for the class path (so clients don't need to re-learn how to
spell it) and for telling the JVM whether to ignore unrecognized arguments.
Based on our uses of the JNI APIs, the JavaKit path (Swift wrapping
Java classes) only requires JNI as of Java 1.6, far earlier than the
JDK 21 we had previously required.
@DougGregor DougGregor merged commit a64f805 into swiftlang:main Oct 7, 2024
8 of 9 checks passed
@DougGregor DougGregor deleted the jvm-class-cleanups branch October 7, 2024 19:30
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