Skip to content

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Jan 8, 2026

The Java version on the windows.vs2022.amd64.open image got updated from 21.0.8 to 25.0.1 yesterday. This causes build failures:

EXEC : error : A restricted method in java.lang.System has been called [D:\a_work\1\s\src\aspnetcore\src\SignalR\clients\java\signalr\core\signalr.client.java.core.javaproj]
##[error]EXEC(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) A restricted method in java.lang.System has been called
EXEC : error : java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/C:/Users/cloudtest/.gradle/wrapper/dists/gradle-8.10-bin/deqhafrv1ntovfmgh0nh3npr9/gradle-8.10/lib/native-platform-0.22-milestone-26.jar) [D:\a_work\1\s\src\aspnetcore\src\SignalR\clients\java\signalr\core\signalr.client.java.core.javaproj]
##[error]EXEC(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/C:/Users/cloudtest/.gradle/wrapper/dists/gradle-8.10-bin/deqhafrv1ntovfmgh0nh3npr9/gradle-8.10/lib/native-platform-0.22-milestone-26.jar)
EXEC : error : Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module [D:\a_work\1\s\src\aspnetcore\src\SignalR\clients\java\signalr\core\signalr.client.java.core.javaproj]
##[error]EXEC(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
EXEC : error : Restricted methods will be blocked in a future release unless native access is enabled [D:\a_work\1\s\src\aspnetcore\src\SignalR\clients\java\signalr\core\signalr.client.java.core.javaproj]
##[error]EXEC(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Restricted methods will be blocked in a future release unless native access is enabled

According to https://docs.gradle.org/current/userguide/compatibility.html, the gradle version needs to be updated to >= 9.1.0.

Copilot AI review requested due to automatic review settings January 8, 2026 13:57
@github-actions github-actions bot added the area-signalr Includes: SignalR clients and servers label Jan 8, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Gradle wrapper from version 8.10 to 9.1.0 for the Java SignalR client, representing a major version upgrade of the build tool.

Key changes:

  • Updated distributionUrl to point to gradle-9.1.0-bin.zip
  • Updated distributionSha256Sum to match the new Gradle distribution

@ViktorHofer ViktorHofer requested review from a team and wtgodbe as code owners January 8, 2026 14:01
@ViktorHofer ViktorHofer changed the title Update Gradle wrapper to version 9.1.0 Update Gradle wrapper to version 9.1.0 and update jdk version in innerloop script Jan 8, 2026
@ericstj
Copy link
Member

ericstj commented Jan 8, 2026

@ViktorHofer
Copy link
Member Author

Closing in favor of #64972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-signalr Includes: SignalR clients and servers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants