java.io.BufferedInputStream changed to block on reads of 0 bytes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 5.0
    • Affects Version/s: apoc1.1, 5.0
    • Component/s: core-libs
    • b51
    • generic, sparc
    • generic, solaris_9, solaris_10

      Basically, using a BufferedInputStream to read 0 bytes over a socket blocks with 1.5 whereas the same operation does not block using 1.4. The netscape ldapjdk relies on the behaviour seen in 1.4. Actually, I can confirm that the problem does not occur for J2SE 1.5.0-beta-b32c and does occur for J2SE build 1.5.0-beta2-b45, so somewhere in between the behaviour changed.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: