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
Description
This test class demonstrates a problem with the file system preferences. 

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

   Expected:

     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.

  Currently:

     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.

Comments
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).
19-12-2012

PUBLIC COMMENTS Had requested OS and JDK verison information.
24-07-2012