Skip to content
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

Fix toLowerCase/toUpperCase on Locale.ROOT #862

Merged
merged 2 commits into from
Nov 19, 2023

Conversation

SquidDev
Copy link
Contributor

Locale.ROOT.toLanguageTag() currently evaluates to an empty string, rather than the expected "und", which errors when passed to toLocaleLowerCase.

Locale.toLanguageTag() evaluates to an empty string, rather than "und".
@konsoletyper
Copy link
Owner

I believe, this case should also be covered in LocaleTest

@konsoletyper konsoletyper merged commit 4fc43a5 into konsoletyper:master Nov 19, 2023
2 of 5 checks passed
@SquidDev SquidDev deleted the fix-language-tag branch November 19, 2023 18:49
miviwi pushed a commit to miviwi/teavm that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants