closing a ServerSocket that's in accept() fails

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • None
    • sparc
    • solaris_2.5.1

      With Solaris green threads, if one thread is blocked in ServerSocket.accept and another thread closes that socket, there appears to be no effect on the accept call; no exception is thrown. With Solaris native threads, the result is that the process no longer responds to shell job control (^C, ^Z, etc), it has to be killed with a kill -9 from another shell. See the attached test program.

            Assignee:
            Alan Bateman
            Reporter:
            Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: