6899607: Update java.util.prefs.FileSystemPreferences to use PlatformLogger
Summary: Update java.util.prefs.FileSystemPreferences to use PlatformLogger
Reviewed-by: sherman
--- 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");
}
/**