JDK-7118100 : (prefs) Inconsistency when using system and user preference on OSX Lion
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2011-12-05
  • Updated: 2012-06-06
  • Resolved: 2012-06-06
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.
JDK 7 JDK 8
7u6 b10Fixed 8Fixed
Description
It demonstrates an inconsistency when using system and user preferences. 

When trying to create a system prefs node in a not-writable system environment 
the sync method throws an expected BackingStoreException. Now, creating another 
node in the user preferences - which are writable - and syncing this one as 
well should not be a problem. But it also throws a backing store exception 
due to the fact that sync does in fact a syncWorld - trying to create the 
system prefs node again.

Other platform implementations of Java do not have this problem.

The Environments was: Java 1.7 b215, OSX Lion

Comments
EVALUATION http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/b4a447259412
03-05-2012