equal
deleted
inserted
replaced
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 */ |