Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4801102

No single platform independent PreferencesFactory implementation available.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-libs
    • x86
    • windows_nt



      Name: jl125535 Date: 01/09/2003


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Windows NT Version 4.0

      ADDITIONAL OPERATING SYSTEMS :
      Solaris
      Linux

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Not applicable.

      A DESCRIPTION OF THE PROBLEM :
      There is no PreferencesFactory implementation available in
      the JRE which works identically across the majority of
      operating systems. This is a problem as there is no way
      to, for example, set up a system directory structure with
      preferences which can be used in a mixed os environment.

      The simplest solution would be to provide an implementation
      of FileSystemPreferences under NT (which can then be
      selected using the 'java.util.prefs.PreferencesFactory'
      system property).

      An ideal solution would be to provide an (optionally
      selectable) implementation similar to
      FileSystemPreferences, but based on directories with
      Property files (easy to edit in vi), rooted by default in
      the same locations as FileSystemPreferences, but which can
      be rooted in, say, the application directory by setting
      some system properties.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Not applicable.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      Not applicable.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Not applicable.

      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Not applicable.
      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      None available.
      (Review ID: 146913)
      ======================================================================

            jjb Josh Bloch (Inactive)
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: