Pipe.SourceChannel.read - inconsistent behavior

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • beta3
    • x86
    • windows_nt
    • Verified

      This problem is related to bug#4488234 (see test in the bug report).

      1. wrap empty byte array in byte buffer and write to pipe write end

      2. use blocking mode to read in byte buffer which has 0 bytes remaining

      on windows NT / windows 2000:

      - read blocks

      results on Solaris / Linux:

      - read() does not block and returns -1 immediately

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: