db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-2742) LoopingAlphabetStream.read() returns invalid values
Date Fri, 01 Jun 2007 07:19:16 GMT

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

Kristian Waagan closed DERBY-2742.
----------------------------------

    Resolution: Fixed

> LoopingAlphabetStream.read() returns invalid values
> ---------------------------------------------------
>
>                 Key: DERBY-2742
>                 URL: https://issues.apache.org/jira/browse/DERBY-2742
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>         Attachments: derby-2742-1a.diff
>
>
> LoopingAlphabetStream.read() does not and bytes with 0xff before returning them. This
causes the method to return negative integer values for negative byte values, which breaks
the contract of InputStream.read(). The value returned must be in the range 0 - 255.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message