[build] Upgrade to Java 21 (#7547)

Signed-off-by: Jade Turner <spacey-sooty@proton.me>
Co-authored-by: sciencewhiz <sciencewhiz@users.noreply.github.com>
This commit is contained in:
Jade
2025-07-26 06:45:40 +08:00
committed by GitHub
parent c78bd942bb
commit e93c8cdb29
20 changed files with 57 additions and 49 deletions

View File

@@ -93,7 +93,7 @@ public abstract class RobotBase implements AutoCloseable {
*/
protected RobotBase() {
final NetworkTableInstance inst = NetworkTableInstance.getDefault();
m_threadId = Thread.currentThread().getId();
m_threadId = Thread.currentThread().threadId();
setupCameraServerShared();
setupMathShared();
// subscribe to "" to force persistent values to propagate to local