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

The hasMore and next methods should not have to be called in lockstep

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta
    • generic
    • generic

      NamingEnumeration defines hasMore and next which are used to iterate over the
      elements of an enumeration. They should not have to be called in lockstep.
      Moreover, the hasMore method should not have to be called at all.

      Currently, in the LDAP provider the hasMore call has side effects related to referral handling and limit errors so the lockstep calls are necessary.

            vinnie Vincent Ryan
            vinnie Vincent Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: