Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3332

ReadableGridFileChannel#read doesn't return -1 on EOS

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.3.0.Final, 6.0.0.Alpha1
    • Fix Version/s: 6.0.0.Alpha2, 6.0.0.CR1
    • Component/s: Core
    • Labels:
      None

      Description

      ReadableGridFileChannel#read must return -1 on EOS.
      Atm it returns 0, which can cause infinite loop on read.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alesj Ales Justin
                  Reporter:
                  alesj Ales Justin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: