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

TYPO in javax.naming.Directory modifyAttribute method desc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-libs
    • b45
    • x86
    • windows_xp

      A DESCRIPTION OF THE PROBLEM :
      In the javadoc for DirContext and InitialDirContext, under the method

      public void modifyAttributes(String name,
                                   int mod_op,
                                   Attributes attrs)
                            throws NamingException

      under parameters it says "...map not be null"
      it should read "...may not be null"

      This is a problem in 1.4.2, and 1.5 that I know of. For DirContext and InitialDirContext...that I know of.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      ...may not be null
      ACTUAL -
      ...map not be null

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/directory/DirContext.html
      ###@###.### 2005-04-20 23:03:28 GMT

            jhangalsunw Jayalaxmi Hangal (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: