-
Notifications
You must be signed in to change notification settings - Fork 3k
JDK-8316304 in JDK 21 introduced a new field accessed through JNI #38100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Similar fix to main which was done in quarkusio#37813 for jpa-postgresql and in quarkusio#37879 for jpa-postgresql-withxml. Closes quarkusio#37809
|
Link to the JDK bug: https://bugs.openjdk.org/browse/JDK-8316304 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain why exactly this fixes #37809? I.e. a test in QuarkusTestCallbacksITCase.testCallbackContextIsNotFailed is fixed because of a change in image-metrics.properties? What am I missing? Why is this not affecting ImageMetricsITCase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need files for 24.0 and 24.1 too now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the mechanism is working OKish (we probably still need to relax some diff percentages), so we could indeed start expanding it to more tests and more versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm asking because we see the QuarkusTestCallbacksITCase.testCallbackContextIsNotFailed test failing with 24.0 too. See: https://github.com/graalvm/mandrel/actions/runs/7242468774/job/19728465877#step:12:688 or more recently here: https://github.com/graalvm/mandrel/actions/runs/7455460280/job/20285177037#step:12:706
Do you know if the 23.1 specific metrics fix, will fix it for 24.0 and 24.1 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For posterity, this PR got merged since it fixes an issue with GraalVM for JDK 21 builds (internal version 23.1). Later releases are still being tracked in #37809.
Looking closely I actually noticed that |
This comment has been minimized.
This comment has been minimized.
OK, thanks for clarifying! |
|
Apparently that's still not enough to completely fix #37809. When testing Mandrel 24.0 the verification still produces an exception (broken assumption) that triggers the same failure. Marking this as draft till I get a complete fix for (hopefully) all test combinations. |
Marking this again as ready for review as it fixes an actual issue (even if it doesn't close #37809). I will handle the other issue (also described in #37809 (comment)) in a different PR. |
|
✔️ The latest workflow run for the pull request has completed successfully. It should be safe to merge provided you have a look at the other checks in the summary. You can consult the Develocity build scans. |
Similar fix to
mainwhich was done in#37813 for jpa-postgresql and in #37879 for jpa-postgresql-withxml.
Openning as draft till tests with mandrel 23.1 and JDK 21.0.1+12 build complete in https://github.com/graalvm/mandrel/actions/runs/7461888676
cc @jerboaa