JDK-7186555 : (prefs) continual printing of BackingStoreException on console on Linux
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 7
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86
  • Submitted: 2012-07-24
  • Updated: 2014-04-07
This test class demonstrates a problem with the file system preferences. 

  Test running on a unix system as non root user
    Current user only has execute and read permissions in system preferences folder
  Create a preferences node in system preferences that does not exist.


     Node is not available and no properties will be returned. 
     The node should only be created if the file system grants write access. 
     After the thrown BackingStoreException, no further create actions 
     should be performed.


     Node tries to create the folder in file system and throws a 
     BackingStoreException each 30 seconds. There is no chance to 
     check whether a new node can be successfully created.

It is not repetitive attempts to create a folder but periodic sync attempts that generate the BackingStoreException (which are not thrown as the description claims but are logged as warnings).

PUBLIC COMMENTS Had requested OS and JDK verison information.