## modules/graphics/src/main/java/com/sun/glass/ui/lens/LensLogger.java

Print this page

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

    *** 25,34 ****
    --- 25,35 ----

      package com.sun.glass.ui.lens;

      import java.security.AccessController;
      import java.security.PrivilegedAction;
    + import java.util.Locale;
      import sun.util.logging.PlatformLogger;
      import sun.util.logging.PlatformLogger.Level;

      final class LensLogger {

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