Repository navigation
Align standalone EL with Hibernate Validator 9 - #17175
Merged
jdaugherty merged 1 commit intoNov 26, 2026
Merged
Conversation
Use Expressly 6.0.0 and Jakarta EL API 6.0.1 so standalone validation can interpolate standard decimal-bound messages. Cover inclusive and exclusive minimum and maximum messages through the public validator API and document custom-provider compatibility.
🚨 All tests passed but jobs failed 🚨Failed Jobs without Test Failures❌ End to End / End to End Tests (end-to-end build only) 🏷️ Commit: 340b20e Rerun ControlsClick the checkbox to trigger a rerun:
Learn more about TestLens at testlens.app/docs. |
jamesfredley
left a comment
Contributor
There was a problem hiding this comment.
The changes look good.
sbglasius
approved these changes
Nov 26, 2026
sbglasius
left a comment
Contributor
There was a problem hiding this comment.
This is an AI assisted review
The version bump matches Hibernate Validator 9's EL 6, with a spec reproducing the RecordELResolver error. The native-i18n end-to-end failure happens on 9.0.x too since #17157 merged, so it's unrelated. LGTM.
Contributor
Author
|
The e2e failure is due to Scott's cache manager PR merge. It's failing on 9.0.x already. merging. |
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.
Summary
Align GORM's default standalone Expression Language implementation with Hibernate Validator 9 on
9.0.x:Hibernate Validator 9.1.6 declares EL API 6.0.1 as an optional, provided dependency. The existing Expressly 5 runtime supplies EL API 5.0.0 instead. Interpolating a standard
@DecimalMinor@DecimalMaxmessage can therefore throwNoClassDefFoundError: jakarta/el/RecordELResolverinstead of returning a constraint violation.Expressly 6.0.0 depends on EL API 6.0.1 and supports Java 17. Spring Boot 4.2 does not manage these EL coordinates, so this updates the existing version properties. The upgrade note covers applications that replace the default provider.
Related to #16624: this fixes the baseline dependency mismatch independently, without incorporating that PR's validation changes or adding production APIs.
Verification