Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1931

MicroKernel.read() returns negative value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0.2, 1.1.0
    • mk
    • None

    Description

      The contract of MicroKernel#read states: "This method never returns negative values.". However, AFAICS all of our implementations do return -1 under certain circumstances and some test cases (e.g. MicroKernelInputStreamTest even rely on this).

      Attachments

        Activity

          People

            stefan@jira Stefan Guggisberg
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: