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

Bad links to Preferences methods in AbstractPreferences class documentation

XMLWordPrintable

    • b89
    • x86
    • windows_xp

      A DESCRIPTION OF THE PROBLEM :
      It appears that the authors of this documentation intended to link to method descriptions in the preferences documentation, but simply mistyped the JavaDoc syntax, so the text of the document reads something like

      "call to {Preferences#flush()}"

      instead of

      "call to _Preferences.flush_", with a hyperlink.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      This is true because they return no information and their effects are not required to become permanent until a subsequent call to {@link Preferences#flush()} or {@link Preferences#sync()}.


      or something similar
      ACTUAL -
      This is true because they return no information and their effects are not required to become permanent until a subsequent call to {Preferences#flush()} or {Preferences#sync()}.

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/util/prefs/AbstractPreferences.html

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: