HAND FIXES: Fixup java and python compilation

This commit is contained in:
PJ Reiniger
2025-11-07 19:56:29 -05:00
committed by Peter Johnson
parent 108a8c0f9b
commit 105deaddb0
51 changed files with 78 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ package org.wpilib.util;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.concurrent.atomic.AtomicBoolean;
import org.wpilib.util.runtime.RuntimeLoader;
/** WPIUtil JNI. */
public class WPIUtilJNI {

View File

@@ -7,6 +7,7 @@ package org.wpilib.util.concurrent;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.locks.ReentrantLock;
import org.wpilib.util.WPIUtilJNI;
/** A thread-safe container for handling events. */
public class EventVector {

View File

@@ -32,7 +32,7 @@ static const JExceptionInit exceptions[] = {
{"java/lang/InterruptedException", &interruptedEx},
{"java/io/IOException", &ioEx},
{"java/lang/NullPointerException", &nullPointerEx},
{"org/wpilib/util/MsvcRuntimeException", &msvcRuntimeEx}};
{"org/wpilib/util/runtime/MsvcRuntimeException", &msvcRuntimeEx}};
void wpi::ThrowIllegalArgumentException(JNIEnv* env, std::string_view msg) {
illegalArgEx.Throw(env, msg);