## modules/graphics/src/main/java/com/sun/glass/ui/accessible/AccessibleLogger.java

Print this page

    rev 4839 : RT-2529: Locale specific runtime errors (Turkish)

    @@ -24,10 +24,11 @@
      */
     package com.sun.glass.ui.accessible;

     import java.security.AccessController;
     import java.security.PrivilegedAction;
    +import java.util.Locale;

     import sun.util.logging.PlatformLogger;
     import sun.util.logging.PlatformLogger.Level;

     public class AccessibleLogger {

    @@ -37,11 +38,11 @@
         private static PlatformLogger initLogger() {
             PlatformLogger logger = PlatformLogger.getLogger("accessible");
             String levelString = AccessController.doPrivileged(
             new PrivilegedAction<String>() {
                 public String run() {
    -                return System.getProperty("log.accessible", "SEVERE").toUpperCase();
    +                return System.getProperty("log.accessible", "SEVERE").toUpperCase(Locale.ROOT);
                 }
             });
             try {
                 logger.setLevel(Level.valueOf(levelString));
             } catch (Exception e) {