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

ReadableGridFileChannel#read doesn't return -1 on EOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.0.Alpha2, 6.0.0.CR1
    • 5.3.0.Final, 6.0.0.Alpha1
    • Core
    • None

    Description

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

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            ajustin@redhat.com Ales Justin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: