Fix/16513 unsafe warning#16636
Open
fhussonnois wants to merge 2 commits into
Open
Conversation
protobuf-java (pulled in via gRPC) calls the terminally-deprecated sun.misc.Unsafe::arrayBaseOffset, which prints a scary JVM warning on startup under Java 25 (JEP 498). Add --sun-misc-unsafe-memory-access=allow to the production launcher to suppress it. Closes #16513
Apply the same --sun-misc-unsafe-memory-access=allow flag to the gradle run task so ./gradlew run dev sessions don't print the protobuf warning. Related-to: #16513
Contributor
🐋 Docker imagedocker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:16636 server local🧪 Java Unit Tests
|
|||||||||||||||||||||
Contributor
Tests report quick summary:failed ❌ > tests: 6858, success: 6837, skipped: 20, failed: 1 (🔄 6858 executed, 📦 0 from cache)
Failed tests:scheduler > io.kestra.scheduler.DefaultSchedulerTest > shouldStopAndRestartSchedulingLoopWhenEnteringAndExitingMaintenanceMode() failed ❌ in 7.988Develocity build scan: https://develocity.kestra.io/s/tgneysucimc3w Flaky tests report quick summary:failed ❌ > tests: 14, success: 13, skipped: 0, failed: 1
Failed tests:webserver > io.kestra.webserver.controllers.api.MiscControllerTest > canTriggerAWebhookWithoutBasicAuth() failed ❌ in 30.517 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.