[
https://issues.apache.org/jira/browse/QPID-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rudyy updated QPID-6000:
-----------------------------
Assignee: Rob Godfrey (was: Alex Rudyy)
Status: Open (was: Reviewable)
Rob,
I reviewed the changes and here are my comments:
ConsumerTarget_0_10.send(...)
It looks like there is a possibility for NPE if message body is null and
message is uncompressed but the consumer requested the compression.
In "else if" the call body.remaining() will throw NPE if body is null.
The code below (directly after if-else ) checks whether body is null:
long size = body == null ? 0 : body.remaining();
AbstractJMSMessageFactory.uncompressBody - dead method
> [Java Broker] Add ability to automatically compress/decompress message bodies
> to clients
> ----------------------------------------------------------------------------------------
>
> Key: QPID-6000
> URL: https://issues.apache.org/jira/browse/QPID-6000
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker, Java Client
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Fix For: 0.31
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]