JAL-3691 patch toUpper/toLower to use Locale.ROOT for 2.11.2 getdown - needs rebuild...
[jalview.git] / getdown / src / getdown / core / src / main / java / jalview / bin / HiDPISetting.java
index d6d440a..75106cc 100644 (file)
@@ -1,6 +1,8 @@
 package jalview.bin;
 
 import java.awt.HeadlessException;
+import java.util.Locale;
+
 
 public class HiDPISetting
 {
@@ -43,7 +45,7 @@ public class HiDPISetting
   static
   {
     String system = System.getProperty("os.name") == null ? null
-            : System.getProperty("os.name").toLowerCase();
+            : System.getProperty("os.name").toLowerCase(Locale.ROOT);
     if (system != null)
     {
       isLinux = system.indexOf("linux") > -1;