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
            Priority: Minor


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