Streams classes do not honor their Interface Contracts
------------------------------------------------------
Key: AMQCPP-138
URL: https://issues.apache.org/activemq/browse/AMQCPP-138
Project: ActiveMQ C++ Client
Issue Type: Improvement
Components: CMS Impl
Affects Versions: 2.1
Reporter: Timothy Bish
Assignee: Timothy Bish
Priority: Minor
Fix For: 2.2
There are several classes in the IO package that do not honor the contract of
the InputStream interface. ByteArrayInputstream among others doesn't properly
throw an exception or return -1 based on the requirements of the Interface.
We should inspect the IO classes to ensure that they all properly follow the
contract of the IO Stream interface.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.