Skip to content

Remove unused private JNI signature machinery - #58

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
coverage/jni-scope
Nov 8, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
coverage/jni-scope

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Collaborator

JNI method calls build signatures as strings, leaving the private ReturnType conversion and several signature variants unused. Java void results arrive as JValueGen::Void, so () needs no null conversion.

@LucaCappelletti94 LucaCappelletti94 added the enhancement New feature or request label Oct 25, 2026
@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@brotskydotcom brotskydotcom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suspect the original author was reusing code from a different context. It makes everything a lot harder to read to have these cases that aren't used. Nice fix.

@LucaCappelletti94
LucaCappelletti94 merged commit 95714fa into main Nov 8, 2026
14 checks passed
@LucaCappelletti94
LucaCappelletti94 deleted the coverage/jni-scope branch November 8, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants