changeset 1864:ab681c7e811a

6899607: Update java.util.prefs.FileSystemPreferences to use PlatformLogger Summary: Update java.util.prefs.FileSystemPreferences to use PlatformLogger Reviewed-by: sherman
author mchung
date Mon, 09 Nov 2009 21:32:16 -0800
parents e28f5ce71d00
children ee7a380d350e
files src/solaris/classes/java/util/prefs/FileSystemPreferences.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/java/util/prefs/FileSystemPreferences.java	Mon Nov 09 12:38:32 2009 -0800
+++ b/src/solaris/classes/java/util/prefs/FileSystemPreferences.java	Mon Nov 09 21:32:16 2009 -0800
@@ -26,12 +26,12 @@
 package java.util.prefs;
 import java.util.*;
 import java.io.*;
-import java.util.logging.Logger;
 import java.security.AccessController;
 import java.security.PrivilegedAction;
 import java.security.PrivilegedExceptionAction;
 import java.security.PrivilegedActionException;
 
+import sun.util.logging.PlatformLogger;
 
 /**
  * Preferences implementation for Unix.  Preferences are stored in the file
@@ -61,8 +61,8 @@
      * Returns logger for error messages. Backing store exceptions are logged at
      * WARNING level.
      */
-    private static Logger getLogger() {
-        return Logger.getLogger("java.util.prefs");
+    private static PlatformLogger getLogger() {
+        return PlatformLogger.getLogger("java.util.prefs");
     }
 
     /**