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

Fix AbstractLdapNamingEnumeration next to throw NoSuchElementException instead of NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • core-libs
    • None

      AbstractLdapNamingEnumeration.next throws NullPointerException instead of NoSuchElementException.
      However the javadoc for NamingEnumeration says that next should throw NoSuchElementException when no elements are available.

            aefimov Aleksej Efimov
            aefimov Aleksej Efimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: