6899607: Update java.util.prefs.FileSystemPreferences to use PlatformLogger
authormchung
Mon, 09 Nov 2009 21:32:16 -0800
changeset 4230 e208dda74f1c
parent 4229 b09f9b9f75c5
child 4231 655529411ad5
6899607: Update java.util.prefs.FileSystemPreferences to use PlatformLogger Summary: Update java.util.prefs.FileSystemPreferences to use PlatformLogger Reviewed-by: sherman
jdk/src/solaris/classes/java/util/prefs/FileSystemPreferences.java
--- a/jdk/src/solaris/classes/java/util/prefs/FileSystemPreferences.java	Mon Nov 09 12:38:32 2009 -0800
+++ b/jdk/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");
     }
 
     /**