You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2014/06/30 18:06:24 UTC

[jira] [Assigned] (OAK-1931) MicroKernel.read() returns negative value

     [ https://issues.apache.org/jira/browse/OAK-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg reassigned OAK-1931:
--------------------------------------

    Assignee: Stefan Guggisberg

> MicroKernel.read() returns negative value
> -----------------------------------------
>
>                 Key: OAK-1931
>                 URL: https://issues.apache.org/jira/browse/OAK-1931
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>    Affects Versions: 1.0
>            Reporter: Michael Dürig
>            Assignee: Stefan Guggisberg
>
> 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). 



--
This message was sent by Atlassian JIRA
(v6.2#6252)