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

(prefs) Preferences prints debug messages to stderr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 7
    • core-libs

      FULL PRODUCT VERSION :
      Java 7, 8

      A DESCRIPTION OF THE PROBLEM :
      All Java API is quiet except the java.util.prefs.Preferences
      which prints debug messages to stderr.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Remove ~/.java/.userPrefs directory
      2. Run the attached test.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No debug messages.
      ACTUAL -
      Text printed to stderr:

      lut 15, 2013 7:07:52 AM java.util.prefs.FileSystemPreferences$1 run
      INFO: Created user preferences directory.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      public class Test {
      public static void main(String[] args) throws Exception {
      java.util.prefs.Preferences.userRoot();
      }
      }
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: