netliomax25-code opened a new pull request, #2568: URL: https://github.com/apache/groovy/pull/2568
Hit this running JSON binding under a tr_TR default locale. toEnum's case-insensitive fallback uppercases the value with the JVM default locale, so `"high"` folds to `HİGH` (dotted I) and `Enum.valueOf` throws even though `HIGH` exists. The exact-match path and the lowercase fallback (testStaticToEnumByValueWithDash) work everywhere except locales with special case rules. Use Locale.ROOT. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
