Open Berikai opened 1 year ago
Yes, that's a bug. For those addressing it, it might be worth adding an custom errorprone check to make sure toLowerCase()
is not used without a locale argument. I believe PMD already has that kind of check.
Thanks for the clarification.
I've solved my problem by calling Locale.setDefault(Locale) method.
Locale.setDefault(new Locale("en", "US"));
For those who want to achieve this with non-programmatic way can set user.country
user.language
properties of JVM. It can be passed as arguments like below example.
-Duser.country=US -Duser.language=en
Ironically this looks like it's due to the HostProperties
class for the OpenJDK build, which is intended to normalise machine/arch consistently with Maven osdetector plugin, is locale-unaware in several places.
Definite bug.
As you can see,
Caused by: java.lang.UnsatisfiedLinkError: no conscrypt_openjdk_jni-wındows-x86_64
this should be written asconscrypt_openjdk_jni-windows-x86_64
(with i, not ı)This issue appears when my system locale is Turkish. I tested this in both Linux and Windows operating systems. It doesn't appear when system locale is English (United States).