We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.toLowerCase() should have a locale forced, if not:
.toLowerCase()
Expected: windows_64
windows_64
Actual: wındows_64 (notice the "i" is incorrect)
wındows_64
The text was updated successfully, but these errors were encountered:
Temporary workaround, for projects that can afford to force Locale:
static { for(NativeLibraryUtil.Architecture arch : NativeLibraryUtil.Architecture.values()) { String test = arch.name().toLowerCase(); String control = arch.name().toLowerCase(Locale.ENGLISH); if(!test.equals(control)) { log.warn("NativeLibraryUtil.Architecture value \"{}\" != \"{}\", setting Locale to Locale.ENGLISH per scijava/native-lib-loader#39", test, control); Locale.setDefault(Locale.ENGLISH); break; } } }
Sorry, something went wrong.
Adapt NativeLoaderTest to use Turkish locale
c64e306
See #39
6644ab2
See scijava#39
Successfully merging a pull request may close this issue.
.toLowerCase()
should have a locale forced, if not:Expected:
windows_64
Actual:
wındows_64
(notice the "i" is incorrect)The text was updated successfully, but these errors were encountered: