--- old/src/solaris/classes/java/util/prefs/FileSystemPreferences.java 2014-02-09 17:05:56.861428699 +0000 +++ new/src/solaris/classes/java/util/prefs/FileSystemPreferences.java 2014-02-09 17:05:56.593428705 +0000 @@ -48,6 +48,15 @@ * @since 1.4 */ class FileSystemPreferences extends AbstractPreferences { + + static { + PrivilegedAction load = () -> { + System.loadLibrary("prefs"); + return null; + }; + AccessController.doPrivileged(load); + } + /** * Sync interval in seconds. */ @@ -868,7 +877,7 @@ /** * Returns the node name corresponding to the specified directory name. - * (Inverts the transformation of dirName(String). + * (Inverts the transformation of dirName(String). */ private static String nodeName(String dirName) { if (dirName.charAt(0) != '_')