JDK-7184287 : (prefs) BackingStoreException when calling flush on root node[macosx]
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 8
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic,unknown
  • Submitted: 2012-07-16
  • Updated: 2015-05-05
  • Resolved: 2012-08-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u40Fixed 8 b51Fixed
Related Reports
Cloners :  
Duplicate :  
This seems regression of fix for 7160252

Seveal SQE tests start fail with following exception:

java.util.prefs.BackingStoreException: Synchronization failed for node '/'
	at java.util.prefs.MacOSXPreferences.flush(MacOSXPreferences.java:226)
	at RemoveNodeChangeListener.RemoveNodeChangeListenerTest03(RemoveNodeChangeListener.java:208)
	at RemoveNodeChangeListener.main(RemoveNodeChangeListener.java:83)

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/74ceda3a98a0

EVALUATION Changeset: 74ceda3a98a0 Author: khazra Date: 2012-07-24 13:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/74ceda3a98a0 7184287: (prefs) BackingStoreException when calling flush on root node[macosx] Summary: Change implementation to enable user without administrative privileges to call flush Reviewed-by: alanb ! src/macosx/classes/java/util/prefs/MacOSXPreferences.java ! src/macosx/classes/java/util/prefs/MacOSXPreferencesFile.java ! test/ProblemList.txt

EVALUATION As it is now implemented, flushing a node needs root permission. Change in implementation is required (somewhat similar to 7118100).