jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1931) MicroKernel.read() returns negative value
Date Mon, 30 Jun 2014 15:01:40 GMT

    [ https://issues.apache.org/jira/browse/OAK-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047731#comment-14047731
] 

Michael Dürig commented on OAK-1931:
------------------------------------

Test case demonstration the issue: http://svn.apache.org/r1606764

> 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
>
> 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)

Mime
View raw message