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

(prefs) typos in java.util.prefs.FileSystemPreferences.java

XMLWordPrintable

    • b03
    • x86
    • linux
    • Not verified

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      File: java.util.prefs.FileSystemPreferences.java

      Lines: 979-981
      throw new SecurityException("Could not unlock" +
                      (isUserNode()? "User prefs." : "System prefs.") +
                      "Lock file access denied.");

      must be (2 missed spaces)

      throw new SecurityException("Could not unlock " +
                      (isUserNode()? "User prefs." : "System prefs.") +
                      " Lock file access denied.");

      Lines: 923-925

      getLogger().warning("Could not lock " +
                                   (isUserNode()? "User prefs. " : "System prefs.") +
                                   "Unix error code " + errorCode + ".");

      must be (missed space)

      getLogger().warning("Could not lock " +
                                   (isUserNode()? "User prefs." : "System prefs.") +
                                   " Unix error code " + errorCode + ".");


      REPRODUCIBILITY :
      This bug can be reproduced always.

            sherman Xueming Shen
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: