JAL-3691 automatic insertion of Locale.ROOT to toUpperCase() and toLowerCase() and...
[jalview.git] / src / jalview / javascript / log4j / Level.java
index 5691a47..582f2de 100644 (file)
@@ -1,5 +1,7 @@
 package jalview.javascript.log4j;
 
+import java.util.Locale;
+
 import java.io.IOException;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;
@@ -162,7 +164,7 @@ public class Level extends Priority implements Serializable
     {
       return defaultLevel;
     }
-    String s = sArg.toUpperCase();
+    String s = sArg.toUpperCase(Locale.ROOT);
 
     if (s.equals(ALL_NAME))
     {