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

java.net.Socket specification flaw: close behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1
    • core-libs
    • None
    • generic
    • generic

      See bugid 4118429, as listed in the "see also" field.

      Basically, The fact that closing a socket's input stream closes the
      socket itself is (a) undocumented (b) contrary to normal expectations
      of an experienced network programmer, (c) not going to change.

      Ergo, I think this needs documenting. (Similarly for the output stream.)
      Javadocs as well as other places such issues will matter (tutorials etc).

            chegar Chris Hegarty
            dbrownelsunw David Brownell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: