--- old/src/solaris/classes/java/util/prefs/FileSystemPreferences.java 2013-05-20 17:20:54.000000000 -0700 +++ new/src/solaris/classes/java/util/prefs/FileSystemPreferences.java 2013-05-20 17:20:54.000000000 -0700 @@ -110,13 +110,13 @@ try { chmod(userRootDir.getCanonicalPath(), USER_RWX); } catch (IOException e) { - getLogger().warning("Could not change permissions" + + getLogger().fine("Could not change permissions" + " on userRoot directory. "); } getLogger().info("Created user preferences directory."); } else - getLogger().warning("Couldn't create user preferences" + + getLogger().fine("Couldn't create user preferences" + " directory. User preferences are unusable."); } isUserRootWritable = userRootDir.canWrite(); @@ -132,12 +132,12 @@ int result = chmod(userRootModFile.getCanonicalPath(), USER_READ_WRITE); if (result !=0) - getLogger().warning("Problem creating userRoot " + + getLogger().fine("Problem creating userRoot " + "mod file. Chmod failed on " + userRootModFile.getCanonicalPath() + " Unix error code " + result); } catch (IOException e) { - getLogger().warning(e.toString()); + getLogger().fine(e.toString()); } userRootModTime = userRootModFile.lastModified(); return null; @@ -184,7 +184,7 @@ } catch (IOException e) { } } else { - getLogger().warning("Could not create " + getLogger().fine("Could not create " + "system preferences directory. System " + "preferences are unusable."); } @@ -201,10 +201,10 @@ int result = chmod(systemRootModFile.getCanonicalPath(), USER_RW_ALL_READ); if (result !=0) - getLogger().warning("Chmod failed on " + + getLogger().fine("Chmod failed on " + systemRootModFile.getCanonicalPath() + " Unix error code " + result); - } catch (IOException e) { getLogger().warning(e.toString()); + } catch (IOException e) { getLogger().fine(e.toString()); } systemRootModTime = systemRootModFile.lastModified(); return null; @@ -463,14 +463,14 @@ if (userRt != null) userRt.flush(); } catch(BackingStoreException e) { - getLogger().warning("Couldn't flush user prefs: " + e); + getLogger().fine("Couldn't flush user prefs: " + e); } try { if (systemRt != null) systemRt.flush(); } catch(BackingStoreException e) { - getLogger().warning("Couldn't flush system prefs: " + e); + getLogger().fine("Couldn't flush system prefs: " + e); } } @@ -576,14 +576,14 @@ } } catch(Exception e) { if (e instanceof InvalidPreferencesFormatException) { - getLogger().warning("Invalid preferences format in " + getLogger().fine("Invalid preferences format in " + prefsFile.getPath()); prefsFile.renameTo( new File( prefsFile.getParentFile(), "IncorrectFormatPrefs.xml")); m = new TreeMap<>(); } else if (e instanceof FileNotFoundException) { - getLogger().warning("Prefs file removed in background " + getLogger().fine("Prefs file removed in background " + prefsFile.getPath()); } else { throw new BackingStoreException(e); @@ -697,7 +697,7 @@ // dir should be empty now. If it's not, empty it File[] junk = dir.listFiles(); if (junk.length != 0) { - getLogger().warning( + getLogger().fine( "Found extraneous files when removing node: " + Arrays.asList(junk)); for (int i=0; i