Currently StringUtils#parseLocaleString
completely skips empty tokens when multiple delimiters are in a row, like __
. This means that the en__VARIANT
locale is parsed as en_VARIANT
.
We've seen such locales introduced with our Java 19 CI and this should be supported.