Solaris 2.5.1 - Socket.close() hangs on Socket.read() on different thread

XMLWordPrintable

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



      Name: dbT83986 Date: 02/11/99


      Socket sk;

      public void run(){
        InputStream is = sk.getInputStream();
        is.read();
      }

      myClose(){
        sk.close();
      }



      when the run() is blocked on the read(), calling close() hangs the
      application.

      This behaviour is not present on Solaris 2.6 or Windows NT
      (Review ID: 48130)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: