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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • apoc1.1, 5.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: