jdk/src/solaris/classes/java/util/prefs/FileSystemPreferences.java
changeset 23582 d5fa3327ab3a
parent 22951 5fd21112b2b6
child 25186 63e1a2ec30f5
equal deleted inserted replaced
23581:0ca496340112 23582:d5fa3327ab3a
    59 
    59 
    60     /**
    60     /**
    61      * Sync interval in seconds.
    61      * Sync interval in seconds.
    62      */
    62      */
    63     private static final int SYNC_INTERVAL = Math.max(1,
    63     private static final int SYNC_INTERVAL = Math.max(1,
    64         Integer.parseInt(
    64         AccessController.doPrivileged((PrivilegedAction<Integer>) () ->
    65             AccessController.doPrivileged(
    65              Integer.getInteger("java.util.prefs.syncInterval", 30)));
    66                 new sun.security.action.GetPropertyAction(
       
    67                     "java.util.prefs.syncInterval", "30"))));
       
    68 
    66 
    69     /**
    67     /**
    70      * Returns logger for error messages. Backing store exceptions are logged at
    68      * Returns logger for error messages. Backing store exceptions are logged at
    71      * WARNING level.
    69      * WARNING level.
    72      */
    70      */