[wpinet] Fix JNI loading error (#4295)

This commit is contained in:
PJ Reiniger
2022-06-09 01:21:22 -04:00
committed by GitHub
parent f7b3f4b90e
commit 30f5b68264
3 changed files with 25 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved) {
return JNI_ERR;
}
serviceDataCls = JClass{env, "edu/wpi/first/util/ServiceData"};
serviceDataCls = JClass{env, "edu/wpi/first/net/ServiceData"};
if (!serviceDataCls) {
return JNI_ERR;
}