mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
3b91eea0b7
Prior to this commit, the parsing algorithm in `StringUtils#parseLocaleString` would skip empty tokens, turning `en__VARIANT` into `en_VARIANT` when parsed. This commit ensures that such cases are now supported and that more invalid formats are rejected by the parser. Fixes gh-29248