-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
good first issueA good starting issue for contributors (issues with this label will appear in /contribute)A good starting issue for contributors (issues with this label will appear in /contribute)lang-javaRelated to Java supportRelated to Java supportpackage:jnipackage:jnigen
Milestone
Description
As part of the extension type migration, I had to add this hack to findClass:
static JClassPtr findClass(String name) {
// HACK:
if (name.startsWith('L') && name.endsWith(';')) {
name = name.substring(1, name.length - 1);
}
return using((arena) => _bindings.JniFindClass(name.toNativeChars(arena)))
.checkedClassRef;
}We should find all the places where the signature is being used for class lookup, and switch them over to pass only the class name.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueA good starting issue for contributors (issues with this label will appear in /contribute)A good starting issue for contributors (issues with this label will appear in /contribute)lang-javaRelated to Java supportRelated to Java supportpackage:jnipackage:jnigen
Type
Projects
Status
No status