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

(so) ServerSocketChannel.socket().accept() throws IllegalBlockingModeException if not bound

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 8
    • core-libs
    • None
    • b16
    • Verified


      Found by inspection, looks like ServerSocketAdaptor.accept throws IllegalBlockingModeException rather than NotYetBoundException when called on a ServerSocketChannel that is not bound to a local address.

            prappo Pavel Rappo (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: