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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.7
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: