mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpinet] Fix JNI loading error (#4295)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user