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

[Bundler] unexpected behavior when using preferencesId with dots

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8u20
    • deploy
    • ubuntu

      Consider following situation:

      I'm setting preferencesId as my package identificator: foo.bar, and I expect it to work as usual preferences API, so the every package level should have separate directory, but it's not:

      $ ls ~/.java/.userPrefs/
      ... foo.bar ...

      while expected is

      $ ls ~/.java/.userPrefs/
      ... foo ...
      $ find ~/.java/.userPrefs
      .../.java/.userPrefs/foo
      .../.java/.userPrefs/foo/bar
      .../.java/.userPrefs/foo/bar/JVMUserOptions
      .../.java/.userPrefs/foo/bar/JVMUserOptions/prefs.xml

      As I have the workaround (use "foo/bar") priority may be low.

            shemnon Danno Ferrin (Inactive)
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: