You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In jdk24, the upcoming restrictions for native access produces a warning as the default will change in a later version. Since this is produced by Gradle itself, and for a build without its own native platform dependencies, I think it should be resolved by the Gradle team and not by end users. Here is the build scan for this github action build.
WARNING: A restricted method in java.lang.System has been calledWARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/home/runner/.gradle/wrapper/dists/gradle-8.11-rc-1-bin/3ryjaa5huf6y10uzhnh695xix/gradle-8.11-rc-1/lib/native-platform-0.22-milestone-26.jar)WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
> Task :jcache:compileJavaWARNING: Restricted methods will be blocked in a future release unless native access is enabledWARNING: A restricted method in java.lang.System has been calledWARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/home/runner/.gradle/wrapper/dists/gradle-8.11-rc-1-bin/3ryjaa5huf6y10uzhnh695xix/gradle-8.11-rc-1/lib/native-platform-0.22-milestone-26.jar)WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this moduleWARNING: Restricted methods will be blocked in a future release unless native access is enabled
> Task :caffeine:compileTestJava FROM-CACHE
> Task :caffeine:testClasses UP-TO-DATE
> Task :simulator:compileJavaWARNING: A restricted method in java.lang.System has been calledWARNING: java.lang.System::load has been called by net.rubygrapefruit.platform.internal.NativeLibraryLoader in an unnamed module (file:/home/runner/.gradle/wrapper/dists/gradle-8.11-rc-1-bin/3ryjaa5huf6y10uzhnh695xix/gradle-8.11-rc-1/lib/native-platform-0.22-milestone-26.jar)
> Task :guava:compileJavaWARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this moduleWARNING: Restricted methods will be blocked in a future release unless native access is enabled
The text was updated successfully, but these errors were encountered:
In jdk24, the upcoming restrictions for native access produces a warning as the default will change in a later version. Since this is produced by Gradle itself, and for a build without its own native platform dependencies, I think it should be resolved by the Gradle team and not by end users. Here is the build scan for this github action build.
The text was updated successfully, but these errors were encountered: