java.net.Socket specification flaw: close behaviour

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: 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).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: