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

Knut Anders Hatlen closed DERBY-3226.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.4.0.0

Committed revision 598458.

> BlobLocatorInputStream.read() and ClobLocatorInputStream.read() don't mask 
> out sign bits
> ----------------------------------------------------------------------------------------
>
>                 Key: DERBY-3226
>                 URL: https://issues.apache.org/jira/browse/DERBY-3226
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.4.0.0
>
>         Attachments: d3226.diff
>
>
> The javadoc for java.io.InputStream.read() says that the value byte is to be 
> returned as an int in the range 0 to 255, but BlobLocatorInputStream and 
> ClobLocatorInputStream instead return an int in the range -128 to 127. Since 
> these streams are wrapped in BufferedInputStream objects before they are 
> returned to the users, I don't think this will have any effect on user code.

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

Reply via email to